<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "https://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/>
<meta http-equiv="X-UA-Compatible" content="IE=9"/>
<meta name="generator" content="Doxygen 1.9.1"/>
<meta name="viewport" content="width=device-width, initial-scale=1"/>
<title>Doxygen: io/include/pcl/io/ply_io.h 源文件</title>
<link href="tabs.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="jquery.js"></script>
<script type="text/javascript" src="dynsections.js"></script>
<link href="navtree.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="resize.js"></script>
<script type="text/javascript" src="navtreedata.js"></script>
<script type="text/javascript" src="navtree.js"></script>
<link href="search/search.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="search/searchdata.js"></script>
<script type="text/javascript" src="search/search.js"></script>
<link href="doxygen.css" rel="stylesheet" type="text/css" />
</head>
<body>
<div id="top"><!-- do not remove this div, it is closed by doxygen! -->
<div id="titlearea">
<table cellspacing="0" cellpadding="0">
 <tbody>
 <tr style="height: 56px;">
  <td id="projectalign" style="padding-left: 0.5em;">
   <div id="projectname">Doxygen
   </div>
  </td>
 </tr>
 </tbody>
</table>
</div>
<!-- end header part -->
<!-- 制作者 Doxygen 1.9.1 -->
<script type="text/javascript">
/* @license magnet:?xt=urn:btih:cf05388f2679ee054f2beb29a391d25f4e673ac3&amp;dn=gpl-2.0.txt GPL-v2 */
var searchBox = new SearchBox("searchBox", "search",false,'搜索','.html');
/* @license-end */
</script>
<script type="text/javascript" src="menudata.js"></script>
<script type="text/javascript" src="menu.js"></script>
<script type="text/javascript">
/* @license magnet:?xt=urn:btih:cf05388f2679ee054f2beb29a391d25f4e673ac3&amp;dn=gpl-2.0.txt GPL-v2 */
$(function() {
  initMenu('',true,false,'search.php','搜索');
  $(document).ready(function() { init_search(); });
});
/* @license-end */</script>
<div id="main-nav"></div>
</div><!-- top -->
<div id="side-nav" class="ui-resizable side-nav-resizable">
  <div id="nav-tree">
    <div id="nav-tree-contents">
      <div id="nav-sync" class="sync"></div>
    </div>
  </div>
  <div id="splitbar" style="-moz-user-select:none;" 
       class="ui-resizable-handle">
  </div>
</div>
<script type="text/javascript">
/* @license magnet:?xt=urn:btih:cf05388f2679ee054f2beb29a391d25f4e673ac3&amp;dn=gpl-2.0.txt GPL-v2 */
$(document).ready(function(){initNavTree('ply__io_8h_source.html',''); initResizable(); });
/* @license-end */
</script>
<div id="doc-content">
<!-- window showing the filter options -->
<div id="MSearchSelectWindow"
     onmouseover="return searchBox.OnSearchSelectShow()"
     onmouseout="return searchBox.OnSearchSelectHide()"
     onkeydown="return searchBox.OnSearchSelectKey(event)">
</div>

<!-- iframe showing the search results (closed by default) -->
<div id="MSearchResultsWindow">
<iframe src="javascript:void(0)" frameborder="0" 
        name="MSearchResults" id="MSearchResults">
</iframe>
</div>

<div class="header">
  <div class="headertitle">
<div class="title">ply_io.h</div>  </div>
</div><!--header-->
<div class="contents">
<div class="fragment"><div class="line"><a name="l00001"></a><span class="lineno">    1</span>&#160;<span class="comment">/*</span></div>
<div class="line"><a name="l00002"></a><span class="lineno">    2</span>&#160;<span class="comment"> * Software License Agreement (BSD License)</span></div>
<div class="line"><a name="l00003"></a><span class="lineno">    3</span>&#160;<span class="comment"> *</span></div>
<div class="line"><a name="l00004"></a><span class="lineno">    4</span>&#160;<span class="comment"> *  Point Cloud Library (PCL) - www.pointclouds.org</span></div>
<div class="line"><a name="l00005"></a><span class="lineno">    5</span>&#160;<span class="comment"> *  Copyright (c) 2010-2011, Willow Garage, Inc.</span></div>
<div class="line"><a name="l00006"></a><span class="lineno">    6</span>&#160;<span class="comment"> *</span></div>
<div class="line"><a name="l00007"></a><span class="lineno">    7</span>&#160;<span class="comment"> *  All rights reserved.</span></div>
<div class="line"><a name="l00008"></a><span class="lineno">    8</span>&#160;<span class="comment"> *</span></div>
<div class="line"><a name="l00009"></a><span class="lineno">    9</span>&#160;<span class="comment"> *  Redistribution and use in source and binary forms, with or without</span></div>
<div class="line"><a name="l00010"></a><span class="lineno">   10</span>&#160;<span class="comment"> *  modification, are permitted provided that the following conditions</span></div>
<div class="line"><a name="l00011"></a><span class="lineno">   11</span>&#160;<span class="comment"> *  are met:</span></div>
<div class="line"><a name="l00012"></a><span class="lineno">   12</span>&#160;<span class="comment"> *</span></div>
<div class="line"><a name="l00013"></a><span class="lineno">   13</span>&#160;<span class="comment"> *   * Redistributions of source code must retain the above copyright</span></div>
<div class="line"><a name="l00014"></a><span class="lineno">   14</span>&#160;<span class="comment"> *     notice, this list of conditions and the following disclaimer.</span></div>
<div class="line"><a name="l00015"></a><span class="lineno">   15</span>&#160;<span class="comment"> *   * Redistributions in binary form must reproduce the above</span></div>
<div class="line"><a name="l00016"></a><span class="lineno">   16</span>&#160;<span class="comment"> *     copyright notice, this list of conditions and the following</span></div>
<div class="line"><a name="l00017"></a><span class="lineno">   17</span>&#160;<span class="comment"> *     disclaimer in the documentation and/or other materials provided</span></div>
<div class="line"><a name="l00018"></a><span class="lineno">   18</span>&#160;<span class="comment"> *     with the distribution.</span></div>
<div class="line"><a name="l00019"></a><span class="lineno">   19</span>&#160;<span class="comment"> *   * Neither the name of the copyright holder(s) nor the names of its</span></div>
<div class="line"><a name="l00020"></a><span class="lineno">   20</span>&#160;<span class="comment"> *     contributors may be used to endorse or promote products derived</span></div>
<div class="line"><a name="l00021"></a><span class="lineno">   21</span>&#160;<span class="comment"> *     from this software without specific prior written permission.</span></div>
<div class="line"><a name="l00022"></a><span class="lineno">   22</span>&#160;<span class="comment"> *</span></div>
<div class="line"><a name="l00023"></a><span class="lineno">   23</span>&#160;<span class="comment"> *  THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS</span></div>
<div class="line"><a name="l00024"></a><span class="lineno">   24</span>&#160;<span class="comment"> *  &quot;AS IS&quot; AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT</span></div>
<div class="line"><a name="l00025"></a><span class="lineno">   25</span>&#160;<span class="comment"> *  LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS</span></div>
<div class="line"><a name="l00026"></a><span class="lineno">   26</span>&#160;<span class="comment"> *  FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE</span></div>
<div class="line"><a name="l00027"></a><span class="lineno">   27</span>&#160;<span class="comment"> *  COPYRIGHT OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT,</span></div>
<div class="line"><a name="l00028"></a><span class="lineno">   28</span>&#160;<span class="comment"> *  INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING,</span></div>
<div class="line"><a name="l00029"></a><span class="lineno">   29</span>&#160;<span class="comment"> *  BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES;</span></div>
<div class="line"><a name="l00030"></a><span class="lineno">   30</span>&#160;<span class="comment"> *  LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER</span></div>
<div class="line"><a name="l00031"></a><span class="lineno">   31</span>&#160;<span class="comment"> *  CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT</span></div>
<div class="line"><a name="l00032"></a><span class="lineno">   32</span>&#160;<span class="comment"> *  LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN</span></div>
<div class="line"><a name="l00033"></a><span class="lineno">   33</span>&#160;<span class="comment"> *  ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE</span></div>
<div class="line"><a name="l00034"></a><span class="lineno">   34</span>&#160;<span class="comment"> *  POSSIBILITY OF SUCH DAMAGE.</span></div>
<div class="line"><a name="l00035"></a><span class="lineno">   35</span>&#160;<span class="comment"> *</span></div>
<div class="line"><a name="l00036"></a><span class="lineno">   36</span>&#160;<span class="comment"> * $Id$</span></div>
<div class="line"><a name="l00037"></a><span class="lineno">   37</span>&#160;<span class="comment"> *</span></div>
<div class="line"><a name="l00038"></a><span class="lineno">   38</span>&#160;<span class="comment"> */</span></div>
<div class="line"><a name="l00039"></a><span class="lineno">   39</span>&#160; </div>
<div class="line"><a name="l00040"></a><span class="lineno">   40</span>&#160;<span class="preprocessor">#ifndef PCL_IO_PLY_IO_H_</span></div>
<div class="line"><a name="l00041"></a><span class="lineno">   41</span>&#160;<span class="preprocessor">#define PCL_IO_PLY_IO_H_</span></div>
<div class="line"><a name="l00042"></a><span class="lineno">   42</span>&#160; </div>
<div class="line"><a name="l00043"></a><span class="lineno">   43</span>&#160;<span class="preprocessor">#include &lt;pcl/io/boost.h&gt;</span></div>
<div class="line"><a name="l00044"></a><span class="lineno">   44</span>&#160;<span class="preprocessor">#include &lt;pcl/io/file_io.h&gt;</span></div>
<div class="line"><a name="l00045"></a><span class="lineno">   45</span>&#160;<span class="preprocessor">#include &lt;pcl/io/ply/ply_parser.h&gt;</span></div>
<div class="line"><a name="l00046"></a><span class="lineno">   46</span>&#160;<span class="preprocessor">#include &lt;pcl/PolygonMesh.h&gt;</span></div>
<div class="line"><a name="l00047"></a><span class="lineno">   47</span>&#160;<span class="preprocessor">#include &lt;sstream&gt;</span></div>
<div class="line"><a name="l00048"></a><span class="lineno">   48</span>&#160; </div>
<div class="line"><a name="l00049"></a><span class="lineno">   49</span>&#160;<span class="keyword">namespace </span>pcl</div>
<div class="line"><a name="l00050"></a><span class="lineno">   50</span>&#160;{</div>
<div class="line"><a name="l00077"></a><span class="lineno"><a class="line" href="classpcl_1_1_p_l_y_reader.html">   77</a></span>&#160;  <span class="keyword">class </span>PCL_EXPORTS <a class="code" href="classpcl_1_1_p_l_y_reader.html">PLYReader</a> : <span class="keyword">public</span> <a class="code" href="classpcl_1_1_file_reader.html">FileReader</a></div>
<div class="line"><a name="l00078"></a><span class="lineno">   78</span>&#160;  {</div>
<div class="line"><a name="l00079"></a><span class="lineno">   79</span>&#160;    <span class="keyword">public</span>:</div>
<div class="line"><a name="l00080"></a><span class="lineno">   80</span>&#160;      <span class="keyword">enum</span></div>
<div class="line"><a name="l00081"></a><span class="lineno">   81</span>&#160;      {</div>
<div class="line"><a name="l00082"></a><span class="lineno">   82</span>&#160;        PLY_V0 = 0,</div>
<div class="line"><a name="l00083"></a><span class="lineno">   83</span>&#160;        PLY_V1 = 1</div>
<div class="line"><a name="l00084"></a><span class="lineno">   84</span>&#160;      };</div>
<div class="line"><a name="l00085"></a><span class="lineno">   85</span>&#160;      </div>
<div class="line"><a name="l00086"></a><span class="lineno">   86</span>&#160;      <a class="code" href="classpcl_1_1_p_l_y_reader.html">PLYReader</a> ()</div>
<div class="line"><a name="l00087"></a><span class="lineno">   87</span>&#160;        : <a class="code" href="classpcl_1_1_file_reader.html">FileReader</a> ()</div>
<div class="line"><a name="l00088"></a><span class="lineno">   88</span>&#160;        , parser_ ()</div>
<div class="line"><a name="l00089"></a><span class="lineno">   89</span>&#160;        , origin_ (Eigen::Vector4f::Zero ())</div>
<div class="line"><a name="l00090"></a><span class="lineno">   90</span>&#160;        , orientation_ (Eigen::Matrix3f::Zero ())</div>
<div class="line"><a name="l00091"></a><span class="lineno">   91</span>&#160;        , cloud_ ()</div>
<div class="line"><a name="l00092"></a><span class="lineno">   92</span>&#160;        , vertex_count_ (0)</div>
<div class="line"><a name="l00093"></a><span class="lineno">   93</span>&#160;        , vertex_offset_before_ (0)</div>
<div class="line"><a name="l00094"></a><span class="lineno">   94</span>&#160;        , range_grid_ (0)</div>
<div class="line"><a name="l00095"></a><span class="lineno">   95</span>&#160;        , rgb_offset_before_ (0)</div>
<div class="line"><a name="l00096"></a><span class="lineno">   96</span>&#160;        , do_resize_ (<span class="keyword">false</span>)</div>
<div class="line"><a name="l00097"></a><span class="lineno">   97</span>&#160;        , polygons_ (0)</div>
<div class="line"><a name="l00098"></a><span class="lineno">   98</span>&#160;      {}</div>
<div class="line"><a name="l00099"></a><span class="lineno">   99</span>&#160; </div>
<div class="line"><a name="l00100"></a><span class="lineno">  100</span>&#160;      <a class="code" href="classpcl_1_1_p_l_y_reader.html">PLYReader</a> (<span class="keyword">const</span> <a class="code" href="classpcl_1_1_p_l_y_reader.html">PLYReader</a> &amp;p)</div>
<div class="line"><a name="l00101"></a><span class="lineno">  101</span>&#160;        : <a class="code" href="classpcl_1_1_file_reader.html">FileReader</a> ()</div>
<div class="line"><a name="l00102"></a><span class="lineno">  102</span>&#160;        , parser_ ()</div>
<div class="line"><a name="l00103"></a><span class="lineno">  103</span>&#160;        , origin_ (Eigen::Vector4f::Zero ())</div>
<div class="line"><a name="l00104"></a><span class="lineno">  104</span>&#160;        , orientation_ (Eigen::Matrix3f::Zero ())</div>
<div class="line"><a name="l00105"></a><span class="lineno">  105</span>&#160;        , cloud_ ()</div>
<div class="line"><a name="l00106"></a><span class="lineno">  106</span>&#160;        , vertex_count_ (0)</div>
<div class="line"><a name="l00107"></a><span class="lineno">  107</span>&#160;        , vertex_offset_before_ (0)</div>
<div class="line"><a name="l00108"></a><span class="lineno">  108</span>&#160;        , range_grid_ (0)</div>
<div class="line"><a name="l00109"></a><span class="lineno">  109</span>&#160;        , rgb_offset_before_ (0)</div>
<div class="line"><a name="l00110"></a><span class="lineno">  110</span>&#160;        , do_resize_ (<span class="keyword">false</span>)</div>
<div class="line"><a name="l00111"></a><span class="lineno">  111</span>&#160;        , polygons_ (0)</div>
<div class="line"><a name="l00112"></a><span class="lineno">  112</span>&#160;      {</div>
<div class="line"><a name="l00113"></a><span class="lineno">  113</span>&#160;        *<span class="keyword">this</span> = p;</div>
<div class="line"><a name="l00114"></a><span class="lineno">  114</span>&#160;      }</div>
<div class="line"><a name="l00115"></a><span class="lineno">  115</span>&#160; </div>
<div class="line"><a name="l00116"></a><span class="lineno">  116</span>&#160;      <a class="code" href="classpcl_1_1_p_l_y_reader.html">PLYReader</a>&amp;</div>
<div class="line"><a name="l00117"></a><span class="lineno">  117</span>&#160;      operator = (<span class="keyword">const</span> <a class="code" href="classpcl_1_1_p_l_y_reader.html">PLYReader</a> &amp;p)</div>
<div class="line"><a name="l00118"></a><span class="lineno">  118</span>&#160;      {</div>
<div class="line"><a name="l00119"></a><span class="lineno">  119</span>&#160;        origin_ = p.origin_;</div>
<div class="line"><a name="l00120"></a><span class="lineno">  120</span>&#160;        orientation_ = p.orientation_;</div>
<div class="line"><a name="l00121"></a><span class="lineno">  121</span>&#160;        range_grid_ = p.range_grid_;</div>
<div class="line"><a name="l00122"></a><span class="lineno">  122</span>&#160;        polygons_ = p.polygons_;</div>
<div class="line"><a name="l00123"></a><span class="lineno">  123</span>&#160;        <span class="keywordflow">return</span> (*<span class="keyword">this</span>);</div>
<div class="line"><a name="l00124"></a><span class="lineno">  124</span>&#160;      }</div>
<div class="line"><a name="l00125"></a><span class="lineno">  125</span>&#160; </div>
<div class="line"><a name="l00126"></a><span class="lineno">  126</span>&#160;      ~<a class="code" href="classpcl_1_1_p_l_y_reader.html">PLYReader</a> () { <span class="keyword">delete</span> range_grid_; }</div>
<div class="line"><a name="l00149"></a><span class="lineno">  149</span>&#160;      <span class="keywordtype">int</span> </div>
<div class="line"><a name="l00150"></a><span class="lineno"><a class="line" href="classpcl_1_1_p_l_y_reader.html#a56241dbe135d31d4f17f7fe53914ce99">  150</a></span>&#160;      <a class="code" href="classpcl_1_1_p_l_y_reader.html#a56241dbe135d31d4f17f7fe53914ce99">readHeader</a> (<span class="keyword">const</span> std::string &amp;file_name, <a class="code" href="structpcl_1_1_p_c_l_point_cloud2.html">pcl::PCLPointCloud2</a> &amp;cloud,</div>
<div class="line"><a name="l00151"></a><span class="lineno">  151</span>&#160;                  Eigen::Vector4f &amp;origin, Eigen::Quaternionf &amp;orientation,</div>
<div class="line"><a name="l00152"></a><span class="lineno">  152</span>&#160;                  <span class="keywordtype">int</span> &amp;ply_version, <span class="keywordtype">int</span> &amp;data_type, <span class="keywordtype">unsigned</span> <span class="keywordtype">int</span> &amp;data_idx, <span class="keyword">const</span> <span class="keywordtype">int</span> offset = 0);</div>
<div class="line"><a name="l00153"></a><span class="lineno">  153</span>&#160; </div>
<div class="line"><a name="l00166"></a><span class="lineno">  166</span>&#160;      <span class="keywordtype">int</span> </div>
<div class="line"><a name="l00167"></a><span class="lineno"><a class="line" href="classpcl_1_1_p_l_y_reader.html#ae44ab90c39f7077ad8a9b1646d95c301">  167</a></span>&#160;      <a class="code" href="classpcl_1_1_p_l_y_reader.html#ae44ab90c39f7077ad8a9b1646d95c301">read</a> (<span class="keyword">const</span> std::string &amp;file_name, <a class="code" href="structpcl_1_1_p_c_l_point_cloud2.html">pcl::PCLPointCloud2</a> &amp;cloud,</div>
<div class="line"><a name="l00168"></a><span class="lineno">  168</span>&#160;            Eigen::Vector4f &amp;origin, Eigen::Quaternionf &amp;orientation, <span class="keywordtype">int</span>&amp; ply_version, <span class="keyword">const</span> <span class="keywordtype">int</span> offset = 0);</div>
<div class="line"><a name="l00169"></a><span class="lineno">  169</span>&#160; </div>
<div class="line"><a name="l00180"></a><span class="lineno">  180</span>&#160;      <span class="keyword">inline</span> <span class="keywordtype">int</span> </div>
<div class="line"><a name="l00181"></a><span class="lineno"><a class="line" href="classpcl_1_1_p_l_y_reader.html#a37d3d9e4bea4228212e0da0a19ae6502">  181</a></span>&#160;      <a class="code" href="classpcl_1_1_p_l_y_reader.html#a37d3d9e4bea4228212e0da0a19ae6502">read</a> (<span class="keyword">const</span> std::string &amp;file_name, <a class="code" href="structpcl_1_1_p_c_l_point_cloud2.html">pcl::PCLPointCloud2</a> &amp;cloud, <span class="keyword">const</span> <span class="keywordtype">int</span> offset = 0)</div>
<div class="line"><a name="l00182"></a><span class="lineno">  182</span>&#160;      {</div>
<div class="line"><a name="l00183"></a><span class="lineno">  183</span>&#160;        Eigen::Vector4f origin;</div>
<div class="line"><a name="l00184"></a><span class="lineno">  184</span>&#160;        Eigen::Quaternionf orientation;</div>
<div class="line"><a name="l00185"></a><span class="lineno">  185</span>&#160;        <span class="keywordtype">int</span> ply_version;</div>
<div class="line"><a name="l00186"></a><span class="lineno">  186</span>&#160;        <span class="keywordflow">return</span> read (file_name, cloud, origin, orientation, ply_version, offset);</div>
<div class="line"><a name="l00187"></a><span class="lineno">  187</span>&#160;      }</div>
<div class="line"><a name="l00188"></a><span class="lineno">  188</span>&#160; </div>
<div class="line"><a name="l00198"></a><span class="lineno">  198</span>&#160;      <span class="keyword">template</span>&lt;<span class="keyword">typename</span> Po<span class="keywordtype">int</span>T&gt; <span class="keyword">inline</span> <span class="keywordtype">int</span></div>
<div class="line"><a name="l00199"></a><span class="lineno"><a class="line" href="classpcl_1_1_p_l_y_reader.html#a54d0d342eff9abbbaff699f0c3b3e903">  199</a></span>&#160;      <a class="code" href="classpcl_1_1_p_l_y_reader.html#a54d0d342eff9abbbaff699f0c3b3e903">read</a> (<span class="keyword">const</span> std::string &amp;file_name, <a class="code" href="classpcl_1_1_point_cloud.html">pcl::PointCloud&lt;PointT&gt;</a> &amp;cloud, <span class="keyword">const</span> <span class="keywordtype">int</span> offset = 0)</div>
<div class="line"><a name="l00200"></a><span class="lineno">  200</span>&#160;      {</div>
<div class="line"><a name="l00201"></a><span class="lineno">  201</span>&#160;        <a class="code" href="structpcl_1_1_p_c_l_point_cloud2.html">pcl::PCLPointCloud2</a> blob;</div>
<div class="line"><a name="l00202"></a><span class="lineno">  202</span>&#160;        <span class="keywordtype">int</span> ply_version;</div>
<div class="line"><a name="l00203"></a><span class="lineno">  203</span>&#160;        <span class="keywordtype">int</span> res = read (file_name, blob, cloud.<a class="code" href="classpcl_1_1_point_cloud.html#aad7c2cd4b0d1c7f0fbc096276b5e2230">sensor_origin_</a>, cloud.<a class="code" href="classpcl_1_1_point_cloud.html#a5de17e88bdf15e1c4fd1bcc6b85b1941">sensor_orientation_</a>,</div>
<div class="line"><a name="l00204"></a><span class="lineno">  204</span>&#160;                        ply_version, offset);</div>
<div class="line"><a name="l00205"></a><span class="lineno">  205</span>&#160; </div>
<div class="line"><a name="l00206"></a><span class="lineno">  206</span>&#160;        <span class="comment">// Exit in case of error</span></div>
<div class="line"><a name="l00207"></a><span class="lineno">  207</span>&#160;        <span class="keywordflow">if</span> (res &lt; 0)</div>
<div class="line"><a name="l00208"></a><span class="lineno">  208</span>&#160;          <span class="keywordflow">return</span> (res);</div>
<div class="line"><a name="l00209"></a><span class="lineno">  209</span>&#160;        pcl::fromPCLPointCloud2 (blob, cloud);</div>
<div class="line"><a name="l00210"></a><span class="lineno">  210</span>&#160;        <span class="keywordflow">return</span> (0);</div>
<div class="line"><a name="l00211"></a><span class="lineno">  211</span>&#160;      }</div>
<div class="line"><a name="l00212"></a><span class="lineno">  212</span>&#160;      </div>
<div class="line"><a name="l00226"></a><span class="lineno">  226</span>&#160;      <span class="keywordtype">int</span></div>
<div class="line"><a name="l00227"></a><span class="lineno"><a class="line" href="classpcl_1_1_p_l_y_reader.html#ab8a76c5d354f4cbd6897d95b2d61e986">  227</a></span>&#160;      <a class="code" href="classpcl_1_1_p_l_y_reader.html#ab8a76c5d354f4cbd6897d95b2d61e986">read</a> (<span class="keyword">const</span> std::string &amp;file_name, <a class="code" href="structpcl_1_1_polygon_mesh.html">pcl::PolygonMesh</a> &amp;mesh,</div>
<div class="line"><a name="l00228"></a><span class="lineno">  228</span>&#160;            Eigen::Vector4f &amp;origin, Eigen::Quaternionf &amp;orientation,</div>
<div class="line"><a name="l00229"></a><span class="lineno">  229</span>&#160;            <span class="keywordtype">int</span>&amp; ply_version, <span class="keyword">const</span> <span class="keywordtype">int</span> offset = 0);</div>
<div class="line"><a name="l00230"></a><span class="lineno">  230</span>&#160; </div>
<div class="line"><a name="l00241"></a><span class="lineno">  241</span>&#160;      <span class="keywordtype">int</span></div>
<div class="line"><a name="l00242"></a><span class="lineno"><a class="line" href="classpcl_1_1_p_l_y_reader.html#a5cd764da5800471c75a7c30055fddebd">  242</a></span>&#160;      <a class="code" href="classpcl_1_1_p_l_y_reader.html#a5cd764da5800471c75a7c30055fddebd">read</a> (<span class="keyword">const</span> std::string &amp;file_name, <a class="code" href="structpcl_1_1_polygon_mesh.html">pcl::PolygonMesh</a> &amp;mesh, <span class="keyword">const</span> <span class="keywordtype">int</span> offset = 0);</div>
<div class="line"><a name="l00243"></a><span class="lineno">  243</span>&#160; </div>
<div class="line"><a name="l00244"></a><span class="lineno">  244</span>&#160;    <span class="keyword">private</span>:</div>
<div class="line"><a name="l00245"></a><span class="lineno">  245</span>&#160;      <a class="code" href="classpcl_1_1io_1_1ply_1_1ply__parser.html">::pcl::io::ply::ply_parser</a> parser_;</div>
<div class="line"><a name="l00246"></a><span class="lineno">  246</span>&#160; </div>
<div class="line"><a name="l00247"></a><span class="lineno">  247</span>&#160;      <span class="keywordtype">bool</span></div>
<div class="line"><a name="l00248"></a><span class="lineno">  248</span>&#160;      parse (<span class="keyword">const</span> std::string&amp; istream_filename);</div>
<div class="line"><a name="l00249"></a><span class="lineno">  249</span>&#160; </div>
<div class="line"><a name="l00255"></a><span class="lineno">  255</span>&#160;      <span class="keywordtype">void</span> </div>
<div class="line"><a name="l00256"></a><span class="lineno"><a class="line" href="classpcl_1_1_p_l_y_reader.html#ab87237320c7e772bcb9b85cc94fbce11">  256</a></span>&#160;      <a class="code" href="classpcl_1_1_p_l_y_reader.html#ab87237320c7e772bcb9b85cc94fbce11">infoCallback</a> (<span class="keyword">const</span> std::string&amp; filename, std::size_t line_number, <span class="keyword">const</span> std::string&amp; message)</div>
<div class="line"><a name="l00257"></a><span class="lineno">  257</span>&#160;      {</div>
<div class="line"><a name="l00258"></a><span class="lineno">  258</span>&#160;        PCL_DEBUG (<span class="stringliteral">&quot;[pcl::PLYReader] %s:%lu: %s\n&quot;</span>, filename.c_str (), line_number, message.c_str ());</div>
<div class="line"><a name="l00259"></a><span class="lineno">  259</span>&#160;      }</div>
<div class="line"><a name="l00260"></a><span class="lineno">  260</span>&#160;      </div>
<div class="line"><a name="l00266"></a><span class="lineno">  266</span>&#160;      <span class="keywordtype">void</span> </div>
<div class="line"><a name="l00267"></a><span class="lineno"><a class="line" href="classpcl_1_1_p_l_y_reader.html#aa4f829179d9e033cf4e96cdc47aa79c5">  267</a></span>&#160;      <a class="code" href="classpcl_1_1_p_l_y_reader.html#aa4f829179d9e033cf4e96cdc47aa79c5">warningCallback</a> (<span class="keyword">const</span> std::string&amp; filename, std::size_t line_number, <span class="keyword">const</span> std::string&amp; message)</div>
<div class="line"><a name="l00268"></a><span class="lineno">  268</span>&#160;      {</div>
<div class="line"><a name="l00269"></a><span class="lineno">  269</span>&#160;        PCL_WARN (<span class="stringliteral">&quot;[pcl::PLYReader] %s:%lu: %s\n&quot;</span>, filename.c_str (), line_number, message.c_str ());</div>
<div class="line"><a name="l00270"></a><span class="lineno">  270</span>&#160;      }</div>
<div class="line"><a name="l00271"></a><span class="lineno">  271</span>&#160;      </div>
<div class="line"><a name="l00277"></a><span class="lineno">  277</span>&#160;      <span class="keywordtype">void</span> </div>
<div class="line"><a name="l00278"></a><span class="lineno"><a class="line" href="classpcl_1_1_p_l_y_reader.html#af685d03940733208fbfcd7e23b78fc84">  278</a></span>&#160;      <a class="code" href="classpcl_1_1_p_l_y_reader.html#af685d03940733208fbfcd7e23b78fc84">errorCallback</a> (<span class="keyword">const</span> std::string&amp; filename, std::size_t line_number, <span class="keyword">const</span> std::string&amp; message)</div>
<div class="line"><a name="l00279"></a><span class="lineno">  279</span>&#160;      {</div>
<div class="line"><a name="l00280"></a><span class="lineno">  280</span>&#160;        PCL_ERROR (<span class="stringliteral">&quot;[pcl::PLYReader] %s:%lu: %s\n&quot;</span>, filename.c_str (), line_number, message.c_str ());</div>
<div class="line"><a name="l00281"></a><span class="lineno">  281</span>&#160;      }</div>
<div class="line"><a name="l00282"></a><span class="lineno">  282</span>&#160;      </div>
<div class="line"><a name="l00287"></a><span class="lineno">  287</span>&#160;      boost::tuple&lt;boost::function&lt;void ()&gt;, boost::function&lt;void ()&gt; &gt; </div>
<div class="line"><a name="l00288"></a><span class="lineno"><a class="line" href="classpcl_1_1_p_l_y_reader.html#a13351a97a9b1a6543ed629cacf66efce">  288</a></span>&#160;      <a class="code" href="classpcl_1_1_p_l_y_reader.html#a13351a97a9b1a6543ed629cacf66efce">elementDefinitionCallback</a> (<span class="keyword">const</span> std::string&amp; element_name, std::size_t count);</div>
<div class="line"><a name="l00289"></a><span class="lineno">  289</span>&#160;      </div>
<div class="line"><a name="l00290"></a><span class="lineno">  290</span>&#160;      <span class="keywordtype">bool</span></div>
<div class="line"><a name="l00291"></a><span class="lineno">  291</span>&#160;      endHeaderCallback ();</div>
<div class="line"><a name="l00292"></a><span class="lineno">  292</span>&#160; </div>
<div class="line"><a name="l00297"></a><span class="lineno">  297</span>&#160;      <span class="keyword">template</span> &lt;<span class="keyword">typename</span> ScalarType&gt; boost::function&lt;void (ScalarType)&gt; </div>
<div class="line"><a name="l00298"></a><span class="lineno"><a class="line" href="classpcl_1_1_p_l_y_reader.html#a04aaad8b7c52dbbe403e5bf370a703d3">  298</a></span>&#160;      <a class="code" href="classpcl_1_1_p_l_y_reader.html#a04aaad8b7c52dbbe403e5bf370a703d3">scalarPropertyDefinitionCallback</a> (<span class="keyword">const</span> std::string&amp; element_name, <span class="keyword">const</span> std::string&amp; property_name);</div>
<div class="line"><a name="l00299"></a><span class="lineno">  299</span>&#160; </div>
<div class="line"><a name="l00304"></a><span class="lineno">  304</span>&#160;      <span class="keyword">template</span> &lt;<span class="keyword">typename</span> SizeType, <span class="keyword">typename</span> ScalarType&gt;</div>
<div class="line"><a name="l00305"></a><span class="lineno">  305</span>&#160;      boost::tuple&lt;boost::function&lt;void (SizeType)&gt;, boost::function&lt;void (ScalarType)&gt;, boost::function&lt;void ()&gt; &gt;</div>
<div class="line"><a name="l00306"></a><span class="lineno"><a class="line" href="classpcl_1_1_p_l_y_reader.html#ac7dd8634789958e1144a36d365f8c35f">  306</a></span>&#160;      <a class="code" href="classpcl_1_1_p_l_y_reader.html#ac7dd8634789958e1144a36d365f8c35f">listPropertyDefinitionCallback</a> (<span class="keyword">const</span> std::string&amp; element_name, <span class="keyword">const</span> std::string&amp; property_name);</div>
<div class="line"><a name="l00307"></a><span class="lineno">  307</span>&#160;      </div>
<div class="line"><a name="l00311"></a><span class="lineno">  311</span>&#160;      <span class="keyword">template</span> &lt;<span class="keyword">typename</span> SizeType&gt; <span class="keywordtype">void</span></div>
<div class="line"><a name="l00312"></a><span class="lineno"><a class="line" href="classpcl_1_1_p_l_y_reader.html#ae05d7c915599a6ce0bf5bf708c8fd790">  312</a></span>&#160;      <a class="code" href="classpcl_1_1_p_l_y_reader.html#ae05d7c915599a6ce0bf5bf708c8fd790">vertexListPropertyBeginCallback</a> (<span class="keyword">const</span> std::string&amp; property_name, SizeType size);</div>
<div class="line"><a name="l00313"></a><span class="lineno">  313</span>&#160; </div>
<div class="line"><a name="l00317"></a><span class="lineno">  317</span>&#160;      <span class="keyword">template</span> &lt;<span class="keyword">typename</span> ContentType&gt; <span class="keywordtype">void</span></div>
<div class="line"><a name="l00318"></a><span class="lineno"><a class="line" href="classpcl_1_1_p_l_y_reader.html#a889473e849280cde0e668dc83c48893d">  318</a></span>&#160;      <a class="code" href="classpcl_1_1_p_l_y_reader.html#a889473e849280cde0e668dc83c48893d">vertexListPropertyContentCallback</a> (ContentType value);</div>
<div class="line"><a name="l00319"></a><span class="lineno">  319</span>&#160; </div>
<div class="line"><a name="l00321"></a><span class="lineno">  321</span>&#160;      <span class="keyword">inline</span> <span class="keywordtype">void</span></div>
<div class="line"><a name="l00322"></a><span class="lineno"><a class="line" href="classpcl_1_1_p_l_y_reader.html#a636bc553c933d13c75b7deb95e15fa82">  322</a></span>&#160;      <a class="code" href="classpcl_1_1_p_l_y_reader.html#a636bc553c933d13c75b7deb95e15fa82">vertexListPropertyEndCallback</a> ();</div>
<div class="line"><a name="l00323"></a><span class="lineno">  323</span>&#160; </div>
<div class="line"><a name="l00328"></a><span class="lineno">  328</span>&#160;      <span class="keyword">template</span>&lt;<span class="keyword">typename</span> Scalar&gt; <span class="keywordtype">void</span></div>
<div class="line"><a name="l00329"></a><span class="lineno"><a class="line" href="classpcl_1_1_p_l_y_reader.html#a85c6083f2fa6b9c9b0ea764c9b33ee2e">  329</a></span>&#160;      <a class="code" href="classpcl_1_1_p_l_y_reader.html#a85c6083f2fa6b9c9b0ea764c9b33ee2e">vertexScalarPropertyCallback</a> (Scalar value);</div>
<div class="line"><a name="l00330"></a><span class="lineno">  330</span>&#160; </div>
<div class="line"><a name="l00337"></a><span class="lineno">  337</span>&#160;      <span class="keyword">inline</span> <span class="keywordtype">void</span></div>
<div class="line"><a name="l00338"></a><span class="lineno"><a class="line" href="classpcl_1_1_p_l_y_reader.html#a481548f94c395a645554fe605d1aa1c0">  338</a></span>&#160;      <a class="code" href="classpcl_1_1_p_l_y_reader.html#a481548f94c395a645554fe605d1aa1c0">vertexColorCallback</a> (<span class="keyword">const</span> std::string&amp; color_name, pcl::io::ply::uint8 color);</div>
<div class="line"><a name="l00339"></a><span class="lineno">  339</span>&#160; </div>
<div class="line"><a name="l00344"></a><span class="lineno">  344</span>&#160;      <span class="keyword">inline</span> <span class="keywordtype">void</span></div>
<div class="line"><a name="l00345"></a><span class="lineno"><a class="line" href="classpcl_1_1_p_l_y_reader.html#ac85439f0003eeba9f3cef1fbc776992b">  345</a></span>&#160;      <a class="code" href="classpcl_1_1_p_l_y_reader.html#ac85439f0003eeba9f3cef1fbc776992b">vertexIntensityCallback</a> (pcl::io::ply::uint8 intensity);</div>
<div class="line"><a name="l00346"></a><span class="lineno">  346</span>&#160; </div>
<div class="line"><a name="l00351"></a><span class="lineno">  351</span>&#160;      <span class="keyword">inline</span> <span class="keywordtype">void</span></div>
<div class="line"><a name="l00352"></a><span class="lineno"><a class="line" href="classpcl_1_1_p_l_y_reader.html#a045b315e35b12c40cd7342234b37f783">  352</a></span>&#160;      <a class="code" href="classpcl_1_1_p_l_y_reader.html#a045b315e35b12c40cd7342234b37f783">vertexAlphaCallback</a> (pcl::io::ply::uint8 alpha);</div>
<div class="line"><a name="l00353"></a><span class="lineno">  353</span>&#160;      </div>
<div class="line"><a name="l00357"></a><span class="lineno">  357</span>&#160;      <span class="keyword">inline</span> <span class="keywordtype">void</span></div>
<div class="line"><a name="l00358"></a><span class="lineno"><a class="line" href="classpcl_1_1_p_l_y_reader.html#a7550c148bba69468d3786ddf47beefc6">  358</a></span>&#160;      <a class="code" href="classpcl_1_1_p_l_y_reader.html#a7550c148bba69468d3786ddf47beefc6">originXCallback</a> (<span class="keyword">const</span> <span class="keywordtype">float</span>&amp; value) { origin_[0] = value; }</div>
<div class="line"><a name="l00359"></a><span class="lineno">  359</span>&#160;      </div>
<div class="line"><a name="l00363"></a><span class="lineno">  363</span>&#160;      <span class="keyword">inline</span> <span class="keywordtype">void</span></div>
<div class="line"><a name="l00364"></a><span class="lineno"><a class="line" href="classpcl_1_1_p_l_y_reader.html#a80977a7e3a935711d9971507b13fe9d6">  364</a></span>&#160;      <a class="code" href="classpcl_1_1_p_l_y_reader.html#a80977a7e3a935711d9971507b13fe9d6">originYCallback</a> (<span class="keyword">const</span> <span class="keywordtype">float</span>&amp; value) { origin_[1] = value; }</div>
<div class="line"><a name="l00365"></a><span class="lineno">  365</span>&#160; </div>
<div class="line"><a name="l00369"></a><span class="lineno">  369</span>&#160;      <span class="keyword">inline</span> <span class="keywordtype">void</span></div>
<div class="line"><a name="l00370"></a><span class="lineno"><a class="line" href="classpcl_1_1_p_l_y_reader.html#a9fd4dc7d957c3463e207d32f14860959">  370</a></span>&#160;      <a class="code" href="classpcl_1_1_p_l_y_reader.html#a9fd4dc7d957c3463e207d32f14860959">originZCallback</a> (<span class="keyword">const</span> <span class="keywordtype">float</span>&amp; value) { origin_[2] = value; }</div>
<div class="line"><a name="l00371"></a><span class="lineno">  371</span>&#160;    </div>
<div class="line"><a name="l00375"></a><span class="lineno">  375</span>&#160;      <span class="keyword">inline</span> <span class="keywordtype">void</span></div>
<div class="line"><a name="l00376"></a><span class="lineno"><a class="line" href="classpcl_1_1_p_l_y_reader.html#ac84555b224a37030674cd2e78b7972cd">  376</a></span>&#160;      <a class="code" href="classpcl_1_1_p_l_y_reader.html#ac84555b224a37030674cd2e78b7972cd">orientationXaxisXCallback</a> (<span class="keyword">const</span> <span class="keywordtype">float</span>&amp; value) { orientation_ (0,0) = value; }</div>
<div class="line"><a name="l00377"></a><span class="lineno">  377</span>&#160;      </div>
<div class="line"><a name="l00381"></a><span class="lineno">  381</span>&#160;      <span class="keyword">inline</span> <span class="keywordtype">void</span></div>
<div class="line"><a name="l00382"></a><span class="lineno"><a class="line" href="classpcl_1_1_p_l_y_reader.html#a1614fcac97319172de0f193b9c8e5c6b">  382</a></span>&#160;      <a class="code" href="classpcl_1_1_p_l_y_reader.html#a1614fcac97319172de0f193b9c8e5c6b">orientationXaxisYCallback</a> (<span class="keyword">const</span> <span class="keywordtype">float</span>&amp; value) { orientation_ (0,1) = value; }</div>
<div class="line"><a name="l00383"></a><span class="lineno">  383</span>&#160;      </div>
<div class="line"><a name="l00387"></a><span class="lineno">  387</span>&#160;      <span class="keyword">inline</span> <span class="keywordtype">void</span></div>
<div class="line"><a name="l00388"></a><span class="lineno"><a class="line" href="classpcl_1_1_p_l_y_reader.html#a656edbdca50246db95f125b61bb10a6a">  388</a></span>&#160;      <a class="code" href="classpcl_1_1_p_l_y_reader.html#a656edbdca50246db95f125b61bb10a6a">orientationXaxisZCallback</a> (<span class="keyword">const</span> <span class="keywordtype">float</span>&amp; value) { orientation_ (0,2) = value; }</div>
<div class="line"><a name="l00389"></a><span class="lineno">  389</span>&#160;      </div>
<div class="line"><a name="l00393"></a><span class="lineno">  393</span>&#160;      <span class="keyword">inline</span> <span class="keywordtype">void</span></div>
<div class="line"><a name="l00394"></a><span class="lineno"><a class="line" href="classpcl_1_1_p_l_y_reader.html#a75570ea5038afd02c8b317b6380cff5a">  394</a></span>&#160;      <a class="code" href="classpcl_1_1_p_l_y_reader.html#a75570ea5038afd02c8b317b6380cff5a">orientationYaxisXCallback</a> (<span class="keyword">const</span> <span class="keywordtype">float</span>&amp; value) { orientation_ (1,0) = value; }</div>
<div class="line"><a name="l00395"></a><span class="lineno">  395</span>&#160;      </div>
<div class="line"><a name="l00399"></a><span class="lineno">  399</span>&#160;      <span class="keyword">inline</span> <span class="keywordtype">void</span></div>
<div class="line"><a name="l00400"></a><span class="lineno"><a class="line" href="classpcl_1_1_p_l_y_reader.html#a60b1353a3bf32e555bfc0bd23a3271d5">  400</a></span>&#160;      <a class="code" href="classpcl_1_1_p_l_y_reader.html#a60b1353a3bf32e555bfc0bd23a3271d5">orientationYaxisYCallback</a> (<span class="keyword">const</span> <span class="keywordtype">float</span>&amp; value) { orientation_ (1,1) = value; }</div>
<div class="line"><a name="l00401"></a><span class="lineno">  401</span>&#160; </div>
<div class="line"><a name="l00405"></a><span class="lineno">  405</span>&#160;      <span class="keyword">inline</span> <span class="keywordtype">void</span></div>
<div class="line"><a name="l00406"></a><span class="lineno"><a class="line" href="classpcl_1_1_p_l_y_reader.html#a7b67a122ff7dd00811ba85382875589e">  406</a></span>&#160;      <a class="code" href="classpcl_1_1_p_l_y_reader.html#a7b67a122ff7dd00811ba85382875589e">orientationYaxisZCallback</a> (<span class="keyword">const</span> <span class="keywordtype">float</span>&amp; value) { orientation_ (1,2) = value; }</div>
<div class="line"><a name="l00407"></a><span class="lineno">  407</span>&#160;      </div>
<div class="line"><a name="l00411"></a><span class="lineno">  411</span>&#160;      <span class="keyword">inline</span> <span class="keywordtype">void</span></div>
<div class="line"><a name="l00412"></a><span class="lineno"><a class="line" href="classpcl_1_1_p_l_y_reader.html#a29e67032a129e812a6896e9bdb3042bf">  412</a></span>&#160;      <a class="code" href="classpcl_1_1_p_l_y_reader.html#a29e67032a129e812a6896e9bdb3042bf">orientationZaxisXCallback</a> (<span class="keyword">const</span> <span class="keywordtype">float</span>&amp; value) { orientation_ (2,0) = value; }</div>
<div class="line"><a name="l00413"></a><span class="lineno">  413</span>&#160;    </div>
<div class="line"><a name="l00417"></a><span class="lineno">  417</span>&#160;      <span class="keyword">inline</span> <span class="keywordtype">void</span></div>
<div class="line"><a name="l00418"></a><span class="lineno"><a class="line" href="classpcl_1_1_p_l_y_reader.html#ac57c84573a277fe5b9ffda5ae8b61f82">  418</a></span>&#160;      <a class="code" href="classpcl_1_1_p_l_y_reader.html#ac57c84573a277fe5b9ffda5ae8b61f82">orientationZaxisYCallback</a> (<span class="keyword">const</span> <span class="keywordtype">float</span>&amp; value) { orientation_ (2,1) = value; }</div>
<div class="line"><a name="l00419"></a><span class="lineno">  419</span>&#160;      </div>
<div class="line"><a name="l00423"></a><span class="lineno">  423</span>&#160;      <span class="keyword">inline</span> <span class="keywordtype">void</span></div>
<div class="line"><a name="l00424"></a><span class="lineno"><a class="line" href="classpcl_1_1_p_l_y_reader.html#af8cd4c6345369f2e41c7e10de20c44e6">  424</a></span>&#160;      <a class="code" href="classpcl_1_1_p_l_y_reader.html#af8cd4c6345369f2e41c7e10de20c44e6">orientationZaxisZCallback</a> (<span class="keyword">const</span> <span class="keywordtype">float</span>&amp; value) { orientation_ (2,2) = value; }</div>
<div class="line"><a name="l00425"></a><span class="lineno">  425</span>&#160;      </div>
<div class="line"><a name="l00429"></a><span class="lineno">  429</span>&#160;      <span class="keyword">inline</span> <span class="keywordtype">void</span></div>
<div class="line"><a name="l00430"></a><span class="lineno"><a class="line" href="classpcl_1_1_p_l_y_reader.html#acfa8d513df34e980a7a0652967c4a247">  430</a></span>&#160;      <a class="code" href="classpcl_1_1_p_l_y_reader.html#acfa8d513df34e980a7a0652967c4a247">cloudHeightCallback</a> (<span class="keyword">const</span> <span class="keywordtype">int</span> &amp;height) { cloud_-&gt;height = height; }</div>
<div class="line"><a name="l00431"></a><span class="lineno">  431</span>&#160; </div>
<div class="line"><a name="l00435"></a><span class="lineno">  435</span>&#160;      <span class="keyword">inline</span> <span class="keywordtype">void</span></div>
<div class="line"><a name="l00436"></a><span class="lineno"><a class="line" href="classpcl_1_1_p_l_y_reader.html#a93b6fe012f402dfd66f14ce558e3ee2c">  436</a></span>&#160;      <a class="code" href="classpcl_1_1_p_l_y_reader.html#a93b6fe012f402dfd66f14ce558e3ee2c">cloudWidthCallback</a> (<span class="keyword">const</span> <span class="keywordtype">int</span> &amp;width) { cloud_-&gt;width = width; }</div>
<div class="line"><a name="l00437"></a><span class="lineno">  437</span>&#160;        </div>
<div class="line"><a name="l00443"></a><span class="lineno">  443</span>&#160;      <span class="keyword">template</span>&lt;<span class="keyword">typename</span> Scalar&gt; <span class="keywordtype">void</span></div>
<div class="line"><a name="l00444"></a><span class="lineno"><a class="line" href="classpcl_1_1_p_l_y_reader.html#a8c93ed9c6e6b0e15a08a942d43ff6e94">  444</a></span>&#160;      <a class="code" href="classpcl_1_1_p_l_y_reader.html#a8c93ed9c6e6b0e15a08a942d43ff6e94">appendScalarProperty</a> (<span class="keyword">const</span> std::string&amp; name, <span class="keyword">const</span> <span class="keywordtype">size_t</span>&amp; count = 1);</div>
<div class="line"><a name="l00445"></a><span class="lineno">  445</span>&#160; </div>
<div class="line"><a name="l00451"></a><span class="lineno">  451</span>&#160;      <span class="keywordtype">void</span></div>
<div class="line"><a name="l00452"></a><span class="lineno"><a class="line" href="classpcl_1_1_p_l_y_reader.html#a77942385450986bfebda922d8f99426d">  452</a></span>&#160;      <a class="code" href="classpcl_1_1_p_l_y_reader.html#a77942385450986bfebda922d8f99426d">amendProperty</a> (<span class="keyword">const</span> std::string&amp; old_name, <span class="keyword">const</span> std::string&amp; new_name, uint8_t datatype = 0);</div>
<div class="line"><a name="l00453"></a><span class="lineno">  453</span>&#160; </div>
<div class="line"><a name="l00455"></a><span class="lineno">  455</span>&#160;      <span class="keywordtype">void</span></div>
<div class="line"><a name="l00456"></a><span class="lineno"><a class="line" href="classpcl_1_1_p_l_y_reader.html#a4c296091609669526a2e546446f44481">  456</a></span>&#160;      <a class="code" href="classpcl_1_1_p_l_y_reader.html#a4c296091609669526a2e546446f44481">vertexBeginCallback</a> ();</div>
<div class="line"><a name="l00457"></a><span class="lineno">  457</span>&#160; </div>
<div class="line"><a name="l00459"></a><span class="lineno">  459</span>&#160;      <span class="keywordtype">void</span></div>
<div class="line"><a name="l00460"></a><span class="lineno"><a class="line" href="classpcl_1_1_p_l_y_reader.html#a23e7436af8b8f65d41489fe9695fa1d6">  460</a></span>&#160;      <a class="code" href="classpcl_1_1_p_l_y_reader.html#a23e7436af8b8f65d41489fe9695fa1d6">vertexEndCallback</a> ();</div>
<div class="line"><a name="l00461"></a><span class="lineno">  461</span>&#160; </div>
<div class="line"><a name="l00463"></a><span class="lineno">  463</span>&#160;      <span class="keywordtype">void</span></div>
<div class="line"><a name="l00464"></a><span class="lineno"><a class="line" href="classpcl_1_1_p_l_y_reader.html#a4e379d9c3532b685370c941e7c1d6441">  464</a></span>&#160;      <a class="code" href="classpcl_1_1_p_l_y_reader.html#a4e379d9c3532b685370c941e7c1d6441">rangeGridBeginCallback</a> ();</div>
<div class="line"><a name="l00465"></a><span class="lineno">  465</span>&#160; </div>
<div class="line"><a name="l00469"></a><span class="lineno">  469</span>&#160;      <span class="keywordtype">void</span></div>
<div class="line"><a name="l00470"></a><span class="lineno"><a class="line" href="classpcl_1_1_p_l_y_reader.html#a4ac96ac673451eb0668cca97c016b179">  470</a></span>&#160;      <a class="code" href="classpcl_1_1_p_l_y_reader.html#a4ac96ac673451eb0668cca97c016b179">rangeGridVertexIndicesBeginCallback</a> (pcl::io::ply::uint8 size);</div>
<div class="line"><a name="l00471"></a><span class="lineno">  471</span>&#160; </div>
<div class="line"><a name="l00475"></a><span class="lineno">  475</span>&#160;      <span class="keywordtype">void</span></div>
<div class="line"><a name="l00476"></a><span class="lineno"><a class="line" href="classpcl_1_1_p_l_y_reader.html#a0a46581b5f7be084f7d8e3f38e5b90b0">  476</a></span>&#160;      <a class="code" href="classpcl_1_1_p_l_y_reader.html#a0a46581b5f7be084f7d8e3f38e5b90b0">rangeGridVertexIndicesElementCallback</a> (pcl::io::ply::int32 vertex_index);</div>
<div class="line"><a name="l00477"></a><span class="lineno">  477</span>&#160; </div>
<div class="line"><a name="l00479"></a><span class="lineno">  479</span>&#160;      <span class="keywordtype">void</span></div>
<div class="line"><a name="l00480"></a><span class="lineno"><a class="line" href="classpcl_1_1_p_l_y_reader.html#a1b3d5186d3c4202028529147c5fb7c92">  480</a></span>&#160;      <a class="code" href="classpcl_1_1_p_l_y_reader.html#a1b3d5186d3c4202028529147c5fb7c92">rangeGridVertexIndicesEndCallback</a> ();</div>
<div class="line"><a name="l00481"></a><span class="lineno">  481</span>&#160; </div>
<div class="line"><a name="l00483"></a><span class="lineno">  483</span>&#160;      <span class="keywordtype">void</span></div>
<div class="line"><a name="l00484"></a><span class="lineno"><a class="line" href="classpcl_1_1_p_l_y_reader.html#a3a8b54ed2f445a80d11ca211039174a5">  484</a></span>&#160;      <a class="code" href="classpcl_1_1_p_l_y_reader.html#a3a8b54ed2f445a80d11ca211039174a5">rangeGridEndCallback</a> ();</div>
<div class="line"><a name="l00485"></a><span class="lineno">  485</span>&#160; </div>
<div class="line"><a name="l00487"></a><span class="lineno">  487</span>&#160;      <span class="keywordtype">void</span></div>
<div class="line"><a name="l00488"></a><span class="lineno"><a class="line" href="classpcl_1_1_p_l_y_reader.html#a7e619d6b0815cf8bd05ee20394ea99a0">  488</a></span>&#160;      <a class="code" href="classpcl_1_1_p_l_y_reader.html#a7e619d6b0815cf8bd05ee20394ea99a0">objInfoCallback</a> (<span class="keyword">const</span> std::string&amp; line);</div>
<div class="line"><a name="l00489"></a><span class="lineno">  489</span>&#160; </div>
<div class="line"><a name="l00491"></a><span class="lineno">  491</span>&#160;      <span class="keywordtype">void</span></div>
<div class="line"><a name="l00492"></a><span class="lineno"><a class="line" href="classpcl_1_1_p_l_y_reader.html#a9e807220c97cfa6527f1b4fe8c2ce993">  492</a></span>&#160;      <a class="code" href="classpcl_1_1_p_l_y_reader.html#a9e807220c97cfa6527f1b4fe8c2ce993">faceBeginCallback</a> ();</div>
<div class="line"><a name="l00493"></a><span class="lineno">  493</span>&#160; </div>
<div class="line"><a name="l00497"></a><span class="lineno">  497</span>&#160;      <span class="keywordtype">void</span></div>
<div class="line"><a name="l00498"></a><span class="lineno"><a class="line" href="classpcl_1_1_p_l_y_reader.html#a290cbfca883f9b62f7b94bc7a5325acd">  498</a></span>&#160;      <a class="code" href="classpcl_1_1_p_l_y_reader.html#a290cbfca883f9b62f7b94bc7a5325acd">faceVertexIndicesBeginCallback</a> (pcl::io::ply::uint8 size);</div>
<div class="line"><a name="l00499"></a><span class="lineno">  499</span>&#160; </div>
<div class="line"><a name="l00503"></a><span class="lineno">  503</span>&#160;      <span class="keywordtype">void</span></div>
<div class="line"><a name="l00504"></a><span class="lineno"><a class="line" href="classpcl_1_1_p_l_y_reader.html#a7bb7b9c898ea80213c85f522e39758e9">  504</a></span>&#160;      <a class="code" href="classpcl_1_1_p_l_y_reader.html#a7bb7b9c898ea80213c85f522e39758e9">faceVertexIndicesElementCallback</a> (pcl::io::ply::int32 vertex_index);</div>
<div class="line"><a name="l00505"></a><span class="lineno">  505</span>&#160; </div>
<div class="line"><a name="l00507"></a><span class="lineno">  507</span>&#160;      <span class="keywordtype">void</span></div>
<div class="line"><a name="l00508"></a><span class="lineno"><a class="line" href="classpcl_1_1_p_l_y_reader.html#a08bf2e4127210c23903e32ca0edf0da2">  508</a></span>&#160;      <a class="code" href="classpcl_1_1_p_l_y_reader.html#a08bf2e4127210c23903e32ca0edf0da2">faceVertexIndicesEndCallback</a> ();</div>
<div class="line"><a name="l00509"></a><span class="lineno">  509</span>&#160; </div>
<div class="line"><a name="l00511"></a><span class="lineno">  511</span>&#160;      <span class="keywordtype">void</span></div>
<div class="line"><a name="l00512"></a><span class="lineno"><a class="line" href="classpcl_1_1_p_l_y_reader.html#a699af317798d847b3d0905559a2b4a5f">  512</a></span>&#160;      <a class="code" href="classpcl_1_1_p_l_y_reader.html#a699af317798d847b3d0905559a2b4a5f">faceEndCallback</a> ();</div>
<div class="line"><a name="l00513"></a><span class="lineno">  513</span>&#160; </div>
<div class="line"><a name="l00515"></a><span class="lineno"><a class="line" href="classpcl_1_1_p_l_y_reader.html#a21757340297c9a66e8611ed9e28474d7">  515</a></span>&#160;      Eigen::Vector4f <a class="code" href="classpcl_1_1_p_l_y_reader.html#a21757340297c9a66e8611ed9e28474d7">origin_</a>;</div>
<div class="line"><a name="l00516"></a><span class="lineno">  516</span>&#160; </div>
<div class="line"><a name="l00518"></a><span class="lineno"><a class="line" href="classpcl_1_1_p_l_y_reader.html#af41acc6ee7104da839bbd70a228f26d3">  518</a></span>&#160;      Eigen::Matrix3f <a class="code" href="classpcl_1_1_p_l_y_reader.html#af41acc6ee7104da839bbd70a228f26d3">orientation_</a>;</div>
<div class="line"><a name="l00519"></a><span class="lineno">  519</span>&#160; </div>
<div class="line"><a name="l00520"></a><span class="lineno">  520</span>&#160;      <span class="comment">//vertex element artifacts</span></div>
<div class="line"><a name="l00521"></a><span class="lineno">  521</span>&#160;      <a class="code" href="structpcl_1_1_p_c_l_point_cloud2.html">pcl::PCLPointCloud2</a> *cloud_;</div>
<div class="line"><a name="l00522"></a><span class="lineno">  522</span>&#160;      <span class="keywordtype">size_t</span> vertex_count_;</div>
<div class="line"><a name="l00523"></a><span class="lineno">  523</span>&#160;      <span class="keywordtype">int</span> vertex_offset_before_;</div>
<div class="line"><a name="l00524"></a><span class="lineno">  524</span>&#160;      <span class="comment">//range element artifacts</span></div>
<div class="line"><a name="l00525"></a><span class="lineno">  525</span>&#160;      std::vector&lt;std::vector &lt;int&gt; &gt; *range_grid_;</div>
<div class="line"><a name="l00526"></a><span class="lineno">  526</span>&#160;      <span class="keywordtype">size_t</span> rgb_offset_before_;</div>
<div class="line"><a name="l00527"></a><span class="lineno">  527</span>&#160;      <span class="keywordtype">bool</span> do_resize_;</div>
<div class="line"><a name="l00528"></a><span class="lineno">  528</span>&#160;      <span class="comment">//face element artifact</span></div>
<div class="line"><a name="l00529"></a><span class="lineno">  529</span>&#160;      std::vector&lt;pcl::Vertices&gt; *polygons_;</div>
<div class="line"><a name="l00530"></a><span class="lineno">  530</span>&#160;    <span class="keyword">public</span>:</div>
<div class="line"><a name="l00531"></a><span class="lineno">  531</span>&#160;      EIGEN_MAKE_ALIGNED_OPERATOR_NEW</div>
<div class="line"><a name="l00532"></a><span class="lineno">  532</span>&#160;  };</div>
<div class="line"><a name="l00533"></a><span class="lineno">  533</span>&#160; </div>
<div class="line"><a name="l00538"></a><span class="lineno"><a class="line" href="classpcl_1_1_p_l_y_writer.html">  538</a></span>&#160;  <span class="keyword">class </span>PCL_EXPORTS <a class="code" href="classpcl_1_1_p_l_y_writer.html">PLYWriter</a> : <span class="keyword">public</span> <a class="code" href="classpcl_1_1_file_writer.html">FileWriter</a></div>
<div class="line"><a name="l00539"></a><span class="lineno">  539</span>&#160;  {</div>
<div class="line"><a name="l00540"></a><span class="lineno">  540</span>&#160;    <span class="keyword">public</span>:</div>
<div class="line"><a name="l00542"></a><span class="lineno"><a class="line" href="classpcl_1_1_p_l_y_writer.html#a3b2eb9e5d72aefef051ec16a63878b3d">  542</a></span>&#160;      <a class="code" href="classpcl_1_1_p_l_y_writer.html#a3b2eb9e5d72aefef051ec16a63878b3d">PLYWriter</a> () : <a class="code" href="classpcl_1_1_file_writer.html">FileWriter</a> () {};</div>
<div class="line"><a name="l00543"></a><span class="lineno">  543</span>&#160; </div>
<div class="line"><a name="l00545"></a><span class="lineno"><a class="line" href="classpcl_1_1_p_l_y_writer.html#a8d0baf53b035753c9f13acfff4a90a1a">  545</a></span>&#160;      <a class="code" href="classpcl_1_1_p_l_y_writer.html#a8d0baf53b035753c9f13acfff4a90a1a">~PLYWriter</a> () {};</div>
<div class="line"><a name="l00546"></a><span class="lineno">  546</span>&#160; </div>
<div class="line"><a name="l00556"></a><span class="lineno">  556</span>&#160;      <span class="keyword">inline</span> std::string</div>
<div class="line"><a name="l00557"></a><span class="lineno"><a class="line" href="classpcl_1_1_p_l_y_writer.html#a1295f7282cf40b60528673005509553f">  557</a></span>&#160;      <a class="code" href="classpcl_1_1_p_l_y_writer.html#a1295f7282cf40b60528673005509553f">generateHeaderBinary</a> (<span class="keyword">const</span> <a class="code" href="structpcl_1_1_p_c_l_point_cloud2.html">pcl::PCLPointCloud2</a> &amp;cloud,</div>
<div class="line"><a name="l00558"></a><span class="lineno">  558</span>&#160;                            <span class="keyword">const</span> Eigen::Vector4f &amp;origin, </div>
<div class="line"><a name="l00559"></a><span class="lineno">  559</span>&#160;                            <span class="keyword">const</span> Eigen::Quaternionf &amp;orientation,</div>
<div class="line"><a name="l00560"></a><span class="lineno">  560</span>&#160;                            <span class="keywordtype">int</span> valid_points,</div>
<div class="line"><a name="l00561"></a><span class="lineno">  561</span>&#160;                            <span class="keywordtype">bool</span> use_camera = <span class="keyword">true</span>)</div>
<div class="line"><a name="l00562"></a><span class="lineno">  562</span>&#160;      {</div>
<div class="line"><a name="l00563"></a><span class="lineno">  563</span>&#160;        <span class="keywordflow">return</span> (generateHeader (cloud, origin, orientation, <span class="keyword">true</span>, use_camera, valid_points));</div>
<div class="line"><a name="l00564"></a><span class="lineno">  564</span>&#160;      }</div>
<div class="line"><a name="l00565"></a><span class="lineno">  565</span>&#160;      </div>
<div class="line"><a name="l00575"></a><span class="lineno">  575</span>&#160;      <span class="keyword">inline</span> std::string</div>
<div class="line"><a name="l00576"></a><span class="lineno"><a class="line" href="classpcl_1_1_p_l_y_writer.html#a9ab45e2e58bb9e564a1e8a98da9f95e0">  576</a></span>&#160;      <a class="code" href="classpcl_1_1_p_l_y_writer.html#a9ab45e2e58bb9e564a1e8a98da9f95e0">generateHeaderASCII</a> (<span class="keyword">const</span> <a class="code" href="structpcl_1_1_p_c_l_point_cloud2.html">pcl::PCLPointCloud2</a> &amp;cloud,</div>
<div class="line"><a name="l00577"></a><span class="lineno">  577</span>&#160;                           <span class="keyword">const</span> Eigen::Vector4f &amp;origin, </div>
<div class="line"><a name="l00578"></a><span class="lineno">  578</span>&#160;                           <span class="keyword">const</span> Eigen::Quaternionf &amp;orientation,</div>
<div class="line"><a name="l00579"></a><span class="lineno">  579</span>&#160;                           <span class="keywordtype">int</span> valid_points,</div>
<div class="line"><a name="l00580"></a><span class="lineno">  580</span>&#160;                           <span class="keywordtype">bool</span> use_camera = <span class="keyword">true</span>)</div>
<div class="line"><a name="l00581"></a><span class="lineno">  581</span>&#160;      {</div>
<div class="line"><a name="l00582"></a><span class="lineno">  582</span>&#160;        <span class="keywordflow">return</span> (generateHeader (cloud, origin, orientation, <span class="keyword">false</span>, use_camera, valid_points));</div>
<div class="line"><a name="l00583"></a><span class="lineno">  583</span>&#160;      }</div>
<div class="line"><a name="l00584"></a><span class="lineno">  584</span>&#160; </div>
<div class="line"><a name="l00594"></a><span class="lineno">  594</span>&#160;      <span class="keywordtype">int</span> </div>
<div class="line"><a name="l00595"></a><span class="lineno"><a class="line" href="classpcl_1_1_p_l_y_writer.html#ad89118568a800934d248385520ec024d">  595</a></span>&#160;      <a class="code" href="classpcl_1_1_p_l_y_writer.html#ad89118568a800934d248385520ec024d">writeASCII</a> (<span class="keyword">const</span> std::string &amp;file_name, <span class="keyword">const</span> <a class="code" href="structpcl_1_1_p_c_l_point_cloud2.html">pcl::PCLPointCloud2</a> &amp;cloud,</div>
<div class="line"><a name="l00596"></a><span class="lineno">  596</span>&#160;                  <span class="keyword">const</span> Eigen::Vector4f &amp;origin = Eigen::Vector4f::Zero (), </div>
<div class="line"><a name="l00597"></a><span class="lineno">  597</span>&#160;                  <span class="keyword">const</span> Eigen::Quaternionf &amp;orientation = Eigen::Quaternionf::Identity (),</div>
<div class="line"><a name="l00598"></a><span class="lineno">  598</span>&#160;                  <span class="keywordtype">int</span> precision = 8,</div>
<div class="line"><a name="l00599"></a><span class="lineno">  599</span>&#160;                  <span class="keywordtype">bool</span> use_camera = <span class="keyword">true</span>);</div>
<div class="line"><a name="l00600"></a><span class="lineno">  600</span>&#160; </div>
<div class="line"><a name="l00609"></a><span class="lineno">  609</span>&#160;      <span class="keywordtype">int</span> </div>
<div class="line"><a name="l00610"></a><span class="lineno"><a class="line" href="classpcl_1_1_p_l_y_writer.html#a20d7509dbdb6bf5f418542342714c352">  610</a></span>&#160;      <a class="code" href="classpcl_1_1_p_l_y_writer.html#a20d7509dbdb6bf5f418542342714c352">writeBinary</a> (<span class="keyword">const</span> std::string &amp;file_name, <span class="keyword">const</span> <a class="code" href="structpcl_1_1_p_c_l_point_cloud2.html">pcl::PCLPointCloud2</a> &amp;cloud,</div>
<div class="line"><a name="l00611"></a><span class="lineno">  611</span>&#160;                   <span class="keyword">const</span> Eigen::Vector4f &amp;origin = Eigen::Vector4f::Zero (), </div>
<div class="line"><a name="l00612"></a><span class="lineno">  612</span>&#160;                   <span class="keyword">const</span> Eigen::Quaternionf &amp;orientation = Eigen::Quaternionf::Identity (),</div>
<div class="line"><a name="l00613"></a><span class="lineno">  613</span>&#160;                   <span class="keywordtype">bool</span> use_camera = <span class="keyword">true</span>);</div>
<div class="line"><a name="l00614"></a><span class="lineno">  614</span>&#160; </div>
<div class="line"><a name="l00623"></a><span class="lineno">  623</span>&#160;      <span class="keyword">inline</span> <span class="keywordtype">int</span></div>
<div class="line"><a name="l00624"></a><span class="lineno"><a class="line" href="classpcl_1_1_p_l_y_writer.html#a57db9b6f7b1392f3cbcc0d569a792f66">  624</a></span>&#160;      <a class="code" href="classpcl_1_1_p_l_y_writer.html#a57db9b6f7b1392f3cbcc0d569a792f66">write</a> (<span class="keyword">const</span> std::string &amp;file_name, <span class="keyword">const</span> <a class="code" href="structpcl_1_1_p_c_l_point_cloud2.html">pcl::PCLPointCloud2</a> &amp;cloud,</div>
<div class="line"><a name="l00625"></a><span class="lineno">  625</span>&#160;             <span class="keyword">const</span> Eigen::Vector4f &amp;origin = Eigen::Vector4f::Zero (), </div>
<div class="line"><a name="l00626"></a><span class="lineno">  626</span>&#160;             <span class="keyword">const</span> Eigen::Quaternionf &amp;orientation = Eigen::Quaternionf::Identity (),</div>
<div class="line"><a name="l00627"></a><span class="lineno">  627</span>&#160;             <span class="keyword">const</span> <span class="keywordtype">bool</span> binary = <span class="keyword">false</span>)</div>
<div class="line"><a name="l00628"></a><span class="lineno">  628</span>&#160;      {</div>
<div class="line"><a name="l00629"></a><span class="lineno">  629</span>&#160;        <span class="keywordflow">if</span> (binary)</div>
<div class="line"><a name="l00630"></a><span class="lineno">  630</span>&#160;          <span class="keywordflow">return</span> (this-&gt;writeBinary (file_name, cloud, origin, orientation, <span class="keyword">true</span>));</div>
<div class="line"><a name="l00631"></a><span class="lineno">  631</span>&#160;        <span class="keywordflow">else</span></div>
<div class="line"><a name="l00632"></a><span class="lineno">  632</span>&#160;          <span class="keywordflow">return</span> (this-&gt;writeASCII (file_name, cloud, origin, orientation, 8, <span class="keyword">true</span>));</div>
<div class="line"><a name="l00633"></a><span class="lineno">  633</span>&#160;      }</div>
<div class="line"><a name="l00634"></a><span class="lineno">  634</span>&#160; </div>
<div class="line"><a name="l00645"></a><span class="lineno">  645</span>&#160;      <span class="keyword">inline</span> <span class="keywordtype">int</span></div>
<div class="line"><a name="l00646"></a><span class="lineno"><a class="line" href="classpcl_1_1_p_l_y_writer.html#a1cdc16b61f400264180ed31536dd655a">  646</a></span>&#160;      <a class="code" href="classpcl_1_1_p_l_y_writer.html#a1cdc16b61f400264180ed31536dd655a">write</a> (<span class="keyword">const</span> std::string &amp;file_name, <span class="keyword">const</span> <a class="code" href="structpcl_1_1_p_c_l_point_cloud2.html">pcl::PCLPointCloud2</a> &amp;cloud,</div>
<div class="line"><a name="l00647"></a><span class="lineno">  647</span>&#160;             <span class="keyword">const</span> Eigen::Vector4f &amp;origin = Eigen::Vector4f::Zero (), </div>
<div class="line"><a name="l00648"></a><span class="lineno">  648</span>&#160;             <span class="keyword">const</span> Eigen::Quaternionf &amp;orientation = Eigen::Quaternionf::Identity (),</div>
<div class="line"><a name="l00649"></a><span class="lineno">  649</span>&#160;             <span class="keywordtype">bool</span> binary = <span class="keyword">false</span>,</div>
<div class="line"><a name="l00650"></a><span class="lineno">  650</span>&#160;             <span class="keywordtype">bool</span> use_camera = <span class="keyword">true</span>)</div>
<div class="line"><a name="l00651"></a><span class="lineno">  651</span>&#160;      {</div>
<div class="line"><a name="l00652"></a><span class="lineno">  652</span>&#160;        <span class="keywordflow">if</span> (binary)</div>
<div class="line"><a name="l00653"></a><span class="lineno">  653</span>&#160;          <span class="keywordflow">return</span> (this-&gt;writeBinary (file_name, cloud, origin, orientation, use_camera));</div>
<div class="line"><a name="l00654"></a><span class="lineno">  654</span>&#160;        <span class="keywordflow">else</span></div>
<div class="line"><a name="l00655"></a><span class="lineno">  655</span>&#160;          <span class="keywordflow">return</span> (this-&gt;writeASCII (file_name, cloud, origin, orientation, 8, use_camera));</div>
<div class="line"><a name="l00656"></a><span class="lineno">  656</span>&#160;      }</div>
<div class="line"><a name="l00657"></a><span class="lineno">  657</span>&#160; </div>
<div class="line"><a name="l00668"></a><span class="lineno">  668</span>&#160;      <span class="keyword">inline</span> <span class="keywordtype">int</span></div>
<div class="line"><a name="l00669"></a><span class="lineno"><a class="line" href="classpcl_1_1_p_l_y_writer.html#a7f5106374d08b068a5e64309a74bb8a3">  669</a></span>&#160;      <a class="code" href="classpcl_1_1_p_l_y_writer.html#a7f5106374d08b068a5e64309a74bb8a3">write</a> (<span class="keyword">const</span> std::string &amp;file_name, <span class="keyword">const</span> pcl::PCLPointCloud2::ConstPtr &amp;cloud,</div>
<div class="line"><a name="l00670"></a><span class="lineno">  670</span>&#160;             <span class="keyword">const</span> Eigen::Vector4f &amp;origin = Eigen::Vector4f::Zero (), </div>
<div class="line"><a name="l00671"></a><span class="lineno">  671</span>&#160;             <span class="keyword">const</span> Eigen::Quaternionf &amp;orientation = Eigen::Quaternionf::Identity (),</div>
<div class="line"><a name="l00672"></a><span class="lineno">  672</span>&#160;             <span class="keywordtype">bool</span> binary = <span class="keyword">false</span>,</div>
<div class="line"><a name="l00673"></a><span class="lineno">  673</span>&#160;             <span class="keywordtype">bool</span> use_camera = <span class="keyword">true</span>)</div>
<div class="line"><a name="l00674"></a><span class="lineno">  674</span>&#160;      {</div>
<div class="line"><a name="l00675"></a><span class="lineno">  675</span>&#160;        <span class="keywordflow">return</span> (write (file_name, *cloud, origin, orientation, binary, use_camera));</div>
<div class="line"><a name="l00676"></a><span class="lineno">  676</span>&#160;      }</div>
<div class="line"><a name="l00677"></a><span class="lineno">  677</span>&#160; </div>
<div class="line"><a name="l00686"></a><span class="lineno">  686</span>&#160;      <span class="keyword">template</span>&lt;<span class="keyword">typename</span> Po<span class="keywordtype">int</span>T&gt; <span class="keyword">inline</span> <span class="keywordtype">int</span></div>
<div class="line"><a name="l00687"></a><span class="lineno"><a class="line" href="classpcl_1_1_p_l_y_writer.html#a61b2d3cb7779daf4698e4dc462ae7be3">  687</a></span>&#160;      <a class="code" href="classpcl_1_1_p_l_y_writer.html#a61b2d3cb7779daf4698e4dc462ae7be3">write</a> (<span class="keyword">const</span> std::string &amp;file_name, </div>
<div class="line"><a name="l00688"></a><span class="lineno">  688</span>&#160;             <span class="keyword">const</span> <a class="code" href="classpcl_1_1_point_cloud.html">pcl::PointCloud&lt;PointT&gt;</a> &amp;cloud, </div>
<div class="line"><a name="l00689"></a><span class="lineno">  689</span>&#160;             <span class="keywordtype">bool</span> binary = <span class="keyword">false</span>,</div>
<div class="line"><a name="l00690"></a><span class="lineno">  690</span>&#160;             <span class="keywordtype">bool</span> use_camera = <span class="keyword">true</span>)</div>
<div class="line"><a name="l00691"></a><span class="lineno">  691</span>&#160;      {</div>
<div class="line"><a name="l00692"></a><span class="lineno">  692</span>&#160;        Eigen::Vector4f origin = cloud.<a class="code" href="classpcl_1_1_point_cloud.html#aad7c2cd4b0d1c7f0fbc096276b5e2230">sensor_origin_</a>;</div>
<div class="line"><a name="l00693"></a><span class="lineno">  693</span>&#160;        Eigen::Quaternionf orientation = cloud.<a class="code" href="classpcl_1_1_point_cloud.html#a5de17e88bdf15e1c4fd1bcc6b85b1941">sensor_orientation_</a>;</div>
<div class="line"><a name="l00694"></a><span class="lineno">  694</span>&#160; </div>
<div class="line"><a name="l00695"></a><span class="lineno">  695</span>&#160;        <a class="code" href="structpcl_1_1_p_c_l_point_cloud2.html">pcl::PCLPointCloud2</a> blob;</div>
<div class="line"><a name="l00696"></a><span class="lineno">  696</span>&#160;        pcl::toPCLPointCloud2 (cloud, blob);</div>
<div class="line"><a name="l00697"></a><span class="lineno">  697</span>&#160; </div>
<div class="line"><a name="l00698"></a><span class="lineno">  698</span>&#160;        <span class="comment">// Save the data</span></div>
<div class="line"><a name="l00699"></a><span class="lineno">  699</span>&#160;        <span class="keywordflow">return</span> (this-&gt;write (file_name, blob, origin, orientation, binary, use_camera));</div>
<div class="line"><a name="l00700"></a><span class="lineno">  700</span>&#160;      }</div>
<div class="line"><a name="l00701"></a><span class="lineno">  701</span>&#160;      </div>
<div class="line"><a name="l00702"></a><span class="lineno">  702</span>&#160;    <span class="keyword">private</span>:</div>
<div class="line"><a name="l00707"></a><span class="lineno">  707</span>&#160;      std::string</div>
<div class="line"><a name="l00708"></a><span class="lineno"><a class="line" href="classpcl_1_1_p_l_y_writer.html#ab627fa331f61d35fdcd24953d0bfdf46">  708</a></span>&#160;      <a class="code" href="classpcl_1_1_p_l_y_writer.html#ab627fa331f61d35fdcd24953d0bfdf46">generateHeader</a> (<span class="keyword">const</span> <a class="code" href="structpcl_1_1_p_c_l_point_cloud2.html">pcl::PCLPointCloud2</a> &amp;cloud,</div>
<div class="line"><a name="l00709"></a><span class="lineno">  709</span>&#160;                      <span class="keyword">const</span> Eigen::Vector4f &amp;origin, </div>
<div class="line"><a name="l00710"></a><span class="lineno">  710</span>&#160;                      <span class="keyword">const</span> Eigen::Quaternionf &amp;orientation,</div>
<div class="line"><a name="l00711"></a><span class="lineno">  711</span>&#160;                      <span class="keywordtype">bool</span> binary, </div>
<div class="line"><a name="l00712"></a><span class="lineno">  712</span>&#160;                      <span class="keywordtype">bool</span> use_camera,</div>
<div class="line"><a name="l00713"></a><span class="lineno">  713</span>&#160;                      <span class="keywordtype">int</span> valid_points);</div>
<div class="line"><a name="l00714"></a><span class="lineno">  714</span>&#160;      </div>
<div class="line"><a name="l00715"></a><span class="lineno">  715</span>&#160;      <span class="keywordtype">void</span></div>
<div class="line"><a name="l00716"></a><span class="lineno">  716</span>&#160;      writeContentWithCameraASCII (<span class="keywordtype">int</span> nr_points, </div>
<div class="line"><a name="l00717"></a><span class="lineno">  717</span>&#160;                                   <span class="keywordtype">int</span> point_size,</div>
<div class="line"><a name="l00718"></a><span class="lineno">  718</span>&#160;                                   <span class="keyword">const</span> <a class="code" href="structpcl_1_1_p_c_l_point_cloud2.html">pcl::PCLPointCloud2</a> &amp;cloud,</div>
<div class="line"><a name="l00719"></a><span class="lineno">  719</span>&#160;                                   <span class="keyword">const</span> Eigen::Vector4f &amp;origin, </div>
<div class="line"><a name="l00720"></a><span class="lineno">  720</span>&#160;                                   <span class="keyword">const</span> Eigen::Quaternionf &amp;orientation,</div>
<div class="line"><a name="l00721"></a><span class="lineno">  721</span>&#160;                                   std::ofstream&amp; fs);</div>
<div class="line"><a name="l00722"></a><span class="lineno">  722</span>&#160; </div>
<div class="line"><a name="l00723"></a><span class="lineno">  723</span>&#160;      <span class="keywordtype">void</span></div>
<div class="line"><a name="l00724"></a><span class="lineno">  724</span>&#160;      writeContentWithRangeGridASCII (<span class="keywordtype">int</span> nr_points, </div>
<div class="line"><a name="l00725"></a><span class="lineno">  725</span>&#160;                                      <span class="keywordtype">int</span> point_size,</div>
<div class="line"><a name="l00726"></a><span class="lineno">  726</span>&#160;                                      <span class="keyword">const</span> <a class="code" href="structpcl_1_1_p_c_l_point_cloud2.html">pcl::PCLPointCloud2</a> &amp;cloud,</div>
<div class="line"><a name="l00727"></a><span class="lineno">  727</span>&#160;                                      std::ostringstream&amp; fs,</div>
<div class="line"><a name="l00728"></a><span class="lineno">  728</span>&#160;                                      <span class="keywordtype">int</span>&amp; nb_valid_points);</div>
<div class="line"><a name="l00729"></a><span class="lineno">  729</span>&#160;  };</div>
<div class="line"><a name="l00730"></a><span class="lineno">  730</span>&#160; </div>
<div class="line"><a name="l00731"></a><span class="lineno">  731</span>&#160;  <span class="keyword">namespace </span>io</div>
<div class="line"><a name="l00732"></a><span class="lineno">  732</span>&#160;  {</div>
<div class="line"><a name="l00742"></a><span class="lineno">  742</span>&#160;    <span class="keyword">inline</span> <span class="keywordtype">int</span></div>
<div class="line"><a name="l00743"></a><span class="lineno">  743</span>&#160;    loadPLYFile (<span class="keyword">const</span> std::string &amp;file_name, <a class="code" href="structpcl_1_1_p_c_l_point_cloud2.html">pcl::PCLPointCloud2</a> &amp;cloud)</div>
<div class="line"><a name="l00744"></a><span class="lineno">  744</span>&#160;    {</div>
<div class="line"><a name="l00745"></a><span class="lineno">  745</span>&#160;      <a class="code" href="classpcl_1_1_p_l_y_reader.html">pcl::PLYReader</a> p;</div>
<div class="line"><a name="l00746"></a><span class="lineno">  746</span>&#160;      <span class="keywordflow">return</span> (p.read (file_name, cloud));</div>
<div class="line"><a name="l00747"></a><span class="lineno">  747</span>&#160;    }</div>
<div class="line"><a name="l00748"></a><span class="lineno">  748</span>&#160; </div>
<div class="line"><a name="l00757"></a><span class="lineno">  757</span>&#160;    <span class="keyword">inline</span> <span class="keywordtype">int</span></div>
<div class="line"><a name="l00758"></a><span class="lineno">  758</span>&#160;    loadPLYFile (<span class="keyword">const</span> std::string &amp;file_name, <a class="code" href="structpcl_1_1_p_c_l_point_cloud2.html">pcl::PCLPointCloud2</a> &amp;cloud,</div>
<div class="line"><a name="l00759"></a><span class="lineno">  759</span>&#160;                 Eigen::Vector4f &amp;origin, Eigen::Quaternionf &amp;orientation)</div>
<div class="line"><a name="l00760"></a><span class="lineno">  760</span>&#160;    {</div>
<div class="line"><a name="l00761"></a><span class="lineno">  761</span>&#160;      <a class="code" href="classpcl_1_1_p_l_y_reader.html">pcl::PLYReader</a> p;</div>
<div class="line"><a name="l00762"></a><span class="lineno">  762</span>&#160;      <span class="keywordtype">int</span> ply_version;</div>
<div class="line"><a name="l00763"></a><span class="lineno">  763</span>&#160;      <span class="keywordflow">return</span> (p.read (file_name, cloud, origin, orientation, ply_version));</div>
<div class="line"><a name="l00764"></a><span class="lineno">  764</span>&#160;    }</div>
<div class="line"><a name="l00765"></a><span class="lineno">  765</span>&#160; </div>
<div class="line"><a name="l00771"></a><span class="lineno">  771</span>&#160;    <span class="keyword">template</span>&lt;<span class="keyword">typename</span> Po<span class="keywordtype">int</span>T&gt; <span class="keyword">inline</span> <span class="keywordtype">int</span></div>
<div class="line"><a name="l00772"></a><span class="lineno">  772</span>&#160;    loadPLYFile (<span class="keyword">const</span> std::string &amp;file_name, <a class="code" href="classpcl_1_1_point_cloud.html">pcl::PointCloud&lt;PointT&gt;</a> &amp;cloud)</div>
<div class="line"><a name="l00773"></a><span class="lineno">  773</span>&#160;    {</div>
<div class="line"><a name="l00774"></a><span class="lineno">  774</span>&#160;      <a class="code" href="classpcl_1_1_p_l_y_reader.html">pcl::PLYReader</a> p;</div>
<div class="line"><a name="l00775"></a><span class="lineno">  775</span>&#160;      <span class="keywordflow">return</span> (p.read (file_name, cloud));</div>
<div class="line"><a name="l00776"></a><span class="lineno">  776</span>&#160;    }</div>
<div class="line"><a name="l00777"></a><span class="lineno">  777</span>&#160; </div>
<div class="line"><a name="l00787"></a><span class="lineno">  787</span>&#160;    <span class="keyword">inline</span> <span class="keywordtype">int</span></div>
<div class="line"><a name="l00788"></a><span class="lineno">  788</span>&#160;    loadPLYFile (<span class="keyword">const</span> std::string &amp;file_name, <a class="code" href="structpcl_1_1_polygon_mesh.html">pcl::PolygonMesh</a> &amp;mesh)</div>
<div class="line"><a name="l00789"></a><span class="lineno">  789</span>&#160;    {</div>
<div class="line"><a name="l00790"></a><span class="lineno">  790</span>&#160;      <a class="code" href="classpcl_1_1_p_l_y_reader.html">pcl::PLYReader</a> p;</div>
<div class="line"><a name="l00791"></a><span class="lineno">  791</span>&#160;      <span class="keywordflow">return</span> (p.read (file_name, mesh));</div>
<div class="line"><a name="l00792"></a><span class="lineno">  792</span>&#160;    }</div>
<div class="line"><a name="l00793"></a><span class="lineno">  793</span>&#160; </div>
<div class="line"><a name="l00803"></a><span class="lineno">  803</span>&#160;    <span class="keyword">inline</span> <span class="keywordtype">int</span> </div>
<div class="line"><a name="l00804"></a><span class="lineno">  804</span>&#160;    savePLYFile (<span class="keyword">const</span> std::string &amp;file_name, <span class="keyword">const</span> <a class="code" href="structpcl_1_1_p_c_l_point_cloud2.html">pcl::PCLPointCloud2</a> &amp;cloud,</div>
<div class="line"><a name="l00805"></a><span class="lineno">  805</span>&#160;                 <span class="keyword">const</span> Eigen::Vector4f &amp;origin = Eigen::Vector4f::Zero (), </div>
<div class="line"><a name="l00806"></a><span class="lineno">  806</span>&#160;                 <span class="keyword">const</span> Eigen::Quaternionf &amp;orientation = Eigen::Quaternionf::Identity (),</div>
<div class="line"><a name="l00807"></a><span class="lineno">  807</span>&#160;                 <span class="keywordtype">bool</span> binary_mode = <span class="keyword">false</span>, <span class="keywordtype">bool</span> use_camera = <span class="keyword">true</span>)</div>
<div class="line"><a name="l00808"></a><span class="lineno">  808</span>&#160;    {</div>
<div class="line"><a name="l00809"></a><span class="lineno">  809</span>&#160;      PLYWriter w;</div>
<div class="line"><a name="l00810"></a><span class="lineno">  810</span>&#160;      <span class="keywordflow">return</span> (w.write (file_name, cloud, origin, orientation, binary_mode, use_camera));</div>
<div class="line"><a name="l00811"></a><span class="lineno">  811</span>&#160;    }</div>
<div class="line"><a name="l00812"></a><span class="lineno">  812</span>&#160; </div>
<div class="line"><a name="l00820"></a><span class="lineno">  820</span>&#160;    <span class="keyword">template</span>&lt;<span class="keyword">typename</span> Po<span class="keywordtype">int</span>T&gt; <span class="keyword">inline</span> <span class="keywordtype">int</span></div>
<div class="line"><a name="l00821"></a><span class="lineno">  821</span>&#160;    savePLYFile (<span class="keyword">const</span> std::string &amp;file_name, <span class="keyword">const</span> <a class="code" href="classpcl_1_1_point_cloud.html">pcl::PointCloud&lt;PointT&gt;</a> &amp;cloud, <span class="keywordtype">bool</span> binary_mode = <span class="keyword">false</span>)</div>
<div class="line"><a name="l00822"></a><span class="lineno">  822</span>&#160;    {</div>
<div class="line"><a name="l00823"></a><span class="lineno">  823</span>&#160;      PLYWriter w;</div>
<div class="line"><a name="l00824"></a><span class="lineno">  824</span>&#160;      <span class="keywordflow">return</span> (w.write&lt;<a class="code" href="structpcl_1_1_point_x_y_z_r_g_b_a.html">PointT</a>&gt; (file_name, cloud, binary_mode));</div>
<div class="line"><a name="l00825"></a><span class="lineno">  825</span>&#160;    }</div>
<div class="line"><a name="l00826"></a><span class="lineno">  826</span>&#160; </div>
<div class="line"><a name="l00833"></a><span class="lineno">  833</span>&#160;    <span class="keyword">template</span>&lt;<span class="keyword">typename</span> Po<span class="keywordtype">int</span>T&gt; <span class="keyword">inline</span> <span class="keywordtype">int</span></div>
<div class="line"><a name="l00834"></a><span class="lineno">  834</span>&#160;    savePLYFileASCII (<span class="keyword">const</span> std::string &amp;file_name, <span class="keyword">const</span> <a class="code" href="classpcl_1_1_point_cloud.html">pcl::PointCloud&lt;PointT&gt;</a> &amp;cloud)</div>
<div class="line"><a name="l00835"></a><span class="lineno">  835</span>&#160;    {</div>
<div class="line"><a name="l00836"></a><span class="lineno">  836</span>&#160;      PLYWriter w;</div>
<div class="line"><a name="l00837"></a><span class="lineno">  837</span>&#160;      <span class="keywordflow">return</span> (w.write&lt;<a class="code" href="structpcl_1_1_point_x_y_z_r_g_b_a.html">PointT</a>&gt; (file_name, cloud, <span class="keyword">false</span>));</div>
<div class="line"><a name="l00838"></a><span class="lineno">  838</span>&#160;    }</div>
<div class="line"><a name="l00839"></a><span class="lineno">  839</span>&#160; </div>
<div class="line"><a name="l00845"></a><span class="lineno">  845</span>&#160;    <span class="keyword">template</span>&lt;<span class="keyword">typename</span> Po<span class="keywordtype">int</span>T&gt; <span class="keyword">inline</span> <span class="keywordtype">int</span></div>
<div class="line"><a name="l00846"></a><span class="lineno">  846</span>&#160;    savePLYFileBinary (<span class="keyword">const</span> std::string &amp;file_name, <span class="keyword">const</span> <a class="code" href="classpcl_1_1_point_cloud.html">pcl::PointCloud&lt;PointT&gt;</a> &amp;cloud)</div>
<div class="line"><a name="l00847"></a><span class="lineno">  847</span>&#160;    {</div>
<div class="line"><a name="l00848"></a><span class="lineno">  848</span>&#160;      PLYWriter w;</div>
<div class="line"><a name="l00849"></a><span class="lineno">  849</span>&#160;      <span class="keywordflow">return</span> (w.write&lt;<a class="code" href="structpcl_1_1_point_x_y_z_r_g_b_a.html">PointT</a>&gt; (file_name, cloud, <span class="keyword">true</span>));</div>
<div class="line"><a name="l00850"></a><span class="lineno">  850</span>&#160;    }</div>
<div class="line"><a name="l00851"></a><span class="lineno">  851</span>&#160; </div>
<div class="line"><a name="l00859"></a><span class="lineno">  859</span>&#160;    <span class="keyword">template</span>&lt;<span class="keyword">typename</span> Po<span class="keywordtype">int</span>T&gt; <span class="keywordtype">int</span></div>
<div class="line"><a name="l00860"></a><span class="lineno">  860</span>&#160;    savePLYFile (<span class="keyword">const</span> std::string &amp;file_name, <span class="keyword">const</span> <a class="code" href="classpcl_1_1_point_cloud.html">pcl::PointCloud&lt;PointT&gt;</a> &amp;cloud,</div>
<div class="line"><a name="l00861"></a><span class="lineno">  861</span>&#160;                 <span class="keyword">const</span> std::vector&lt;int&gt; &amp;indices, <span class="keywordtype">bool</span> binary_mode = <span class="keyword">false</span>)</div>
<div class="line"><a name="l00862"></a><span class="lineno">  862</span>&#160;    {</div>
<div class="line"><a name="l00863"></a><span class="lineno">  863</span>&#160;      <span class="comment">// Copy indices to a new point cloud</span></div>
<div class="line"><a name="l00864"></a><span class="lineno">  864</span>&#160;      <a class="code" href="classpcl_1_1_point_cloud.html">pcl::PointCloud&lt;PointT&gt;</a> cloud_out;</div>
<div class="line"><a name="l00865"></a><span class="lineno">  865</span>&#160;      <a class="code" href="group__common.html#gaa65b1c8d782e7b776ae682679d2d948f">copyPointCloud</a> (cloud, indices, cloud_out);</div>
<div class="line"><a name="l00866"></a><span class="lineno">  866</span>&#160;      <span class="comment">// Save the data</span></div>
<div class="line"><a name="l00867"></a><span class="lineno">  867</span>&#160;      PLYWriter w;</div>
<div class="line"><a name="l00868"></a><span class="lineno">  868</span>&#160;      <span class="keywordflow">return</span> (w.write&lt;<a class="code" href="structpcl_1_1_point_x_y_z_r_g_b_a.html">PointT</a>&gt; (file_name, cloud_out, binary_mode));</div>
<div class="line"><a name="l00869"></a><span class="lineno">  869</span>&#160;    }</div>
<div class="line"><a name="l00870"></a><span class="lineno">  870</span>&#160; </div>
<div class="line"><a name="l00877"></a><span class="lineno">  877</span>&#160;    PCL_EXPORTS <span class="keywordtype">int</span></div>
<div class="line"><a name="l00878"></a><span class="lineno">  878</span>&#160;    savePLYFile (<span class="keyword">const</span> std::string &amp;file_name, <span class="keyword">const</span> <a class="code" href="structpcl_1_1_polygon_mesh.html">pcl::PolygonMesh</a> &amp;mesh, <span class="keywordtype">unsigned</span> precision = 5);</div>
<div class="line"><a name="l00879"></a><span class="lineno">  879</span>&#160;    </div>
<div class="line"><a name="l00885"></a><span class="lineno">  885</span>&#160;    PCL_EXPORTS <span class="keywordtype">int</span></div>
<div class="line"><a name="l00886"></a><span class="lineno">  886</span>&#160;    savePLYFileBinary (<span class="keyword">const</span> std::string &amp;file_name, <span class="keyword">const</span> <a class="code" href="structpcl_1_1_polygon_mesh.html">pcl::PolygonMesh</a> &amp;mesh);</div>
<div class="line"><a name="l00887"></a><span class="lineno">  887</span>&#160;  }</div>
<div class="line"><a name="l00888"></a><span class="lineno">  888</span>&#160;}</div>
<div class="line"><a name="l00889"></a><span class="lineno">  889</span>&#160; </div>
<div class="line"><a name="l00890"></a><span class="lineno">  890</span>&#160;<span class="preprocessor">#endif  </span><span class="comment">//#ifndef PCL_IO_PLY_IO_H_</span></div>
<div class="ttc" id="aclasspcl_1_1_file_reader_html"><div class="ttname"><a href="classpcl_1_1_file_reader.html">pcl::FileReader</a></div><div class="ttdoc">Point Cloud Data (FILE) file format reader interface. Any (FILE) format file reader should implement ...</div><div class="ttdef"><b>Definition:</b> file_io.h:57</div></div>
<div class="ttc" id="aclasspcl_1_1_file_writer_html"><div class="ttname"><a href="classpcl_1_1_file_writer.html">pcl::FileWriter</a></div><div class="ttdoc">Point Cloud Data (FILE) file format writer. Any (FILE) format file reader should implement its virtua...</div><div class="ttdef"><b>Definition:</b> file_io.h:163</div></div>
<div class="ttc" id="aclasspcl_1_1_p_l_y_reader_html"><div class="ttname"><a href="classpcl_1_1_p_l_y_reader.html">pcl::PLYReader</a></div><div class="ttdoc">Point Cloud Data (PLY) file format reader.</div><div class="ttdef"><b>Definition:</b> ply_io.h:78</div></div>
<div class="ttc" id="aclasspcl_1_1_p_l_y_reader_html_a045b315e35b12c40cd7342234b37f783"><div class="ttname"><a href="classpcl_1_1_p_l_y_reader.html#a045b315e35b12c40cd7342234b37f783">pcl::PLYReader::vertexAlphaCallback</a></div><div class="ttdeci">void vertexAlphaCallback(pcl::io::ply::uint8 alpha)</div></div>
<div class="ttc" id="aclasspcl_1_1_p_l_y_reader_html_a04aaad8b7c52dbbe403e5bf370a703d3"><div class="ttname"><a href="classpcl_1_1_p_l_y_reader.html#a04aaad8b7c52dbbe403e5bf370a703d3">pcl::PLYReader::scalarPropertyDefinitionCallback</a></div><div class="ttdeci">boost::function&lt; void(ScalarType)&gt; scalarPropertyDefinitionCallback(const std::string &amp;element_name, const std::string &amp;property_name)</div><div class="ttdoc">function called when a scalar property is parsed</div></div>
<div class="ttc" id="aclasspcl_1_1_p_l_y_reader_html_a08bf2e4127210c23903e32ca0edf0da2"><div class="ttname"><a href="classpcl_1_1_p_l_y_reader.html#a08bf2e4127210c23903e32ca0edf0da2">pcl::PLYReader::faceVertexIndicesEndCallback</a></div><div class="ttdeci">void faceVertexIndicesEndCallback()</div></div>
<div class="ttc" id="aclasspcl_1_1_p_l_y_reader_html_a0a46581b5f7be084f7d8e3f38e5b90b0"><div class="ttname"><a href="classpcl_1_1_p_l_y_reader.html#a0a46581b5f7be084f7d8e3f38e5b90b0">pcl::PLYReader::rangeGridVertexIndicesElementCallback</a></div><div class="ttdeci">void rangeGridVertexIndicesElementCallback(pcl::io::ply::int32 vertex_index)</div></div>
<div class="ttc" id="aclasspcl_1_1_p_l_y_reader_html_a13351a97a9b1a6543ed629cacf66efce"><div class="ttname"><a href="classpcl_1_1_p_l_y_reader.html#a13351a97a9b1a6543ed629cacf66efce">pcl::PLYReader::elementDefinitionCallback</a></div><div class="ttdeci">boost::tuple&lt; boost::function&lt; void()&gt;, boost::function&lt; void()&gt; &gt; elementDefinitionCallback(const std::string &amp;element_name, std::size_t count)</div><div class="ttdoc">function called when the keyword element is parsed</div></div>
<div class="ttc" id="aclasspcl_1_1_p_l_y_reader_html_a1614fcac97319172de0f193b9c8e5c6b"><div class="ttname"><a href="classpcl_1_1_p_l_y_reader.html#a1614fcac97319172de0f193b9c8e5c6b">pcl::PLYReader::orientationXaxisYCallback</a></div><div class="ttdeci">void orientationXaxisYCallback(const float &amp;value)</div><div class="ttdef"><b>Definition:</b> ply_io.h:382</div></div>
<div class="ttc" id="aclasspcl_1_1_p_l_y_reader_html_a1b3d5186d3c4202028529147c5fb7c92"><div class="ttname"><a href="classpcl_1_1_p_l_y_reader.html#a1b3d5186d3c4202028529147c5fb7c92">pcl::PLYReader::rangeGridVertexIndicesEndCallback</a></div><div class="ttdeci">void rangeGridVertexIndicesEndCallback()</div></div>
<div class="ttc" id="aclasspcl_1_1_p_l_y_reader_html_a21757340297c9a66e8611ed9e28474d7"><div class="ttname"><a href="classpcl_1_1_p_l_y_reader.html#a21757340297c9a66e8611ed9e28474d7">pcl::PLYReader::origin_</a></div><div class="ttdeci">Eigen::Vector4f origin_</div><div class="ttdoc">origin</div><div class="ttdef"><b>Definition:</b> ply_io.h:515</div></div>
<div class="ttc" id="aclasspcl_1_1_p_l_y_reader_html_a23e7436af8b8f65d41489fe9695fa1d6"><div class="ttname"><a href="classpcl_1_1_p_l_y_reader.html#a23e7436af8b8f65d41489fe9695fa1d6">pcl::PLYReader::vertexEndCallback</a></div><div class="ttdeci">void vertexEndCallback()</div></div>
<div class="ttc" id="aclasspcl_1_1_p_l_y_reader_html_a290cbfca883f9b62f7b94bc7a5325acd"><div class="ttname"><a href="classpcl_1_1_p_l_y_reader.html#a290cbfca883f9b62f7b94bc7a5325acd">pcl::PLYReader::faceVertexIndicesBeginCallback</a></div><div class="ttdeci">void faceVertexIndicesBeginCallback(pcl::io::ply::uint8 size)</div></div>
<div class="ttc" id="aclasspcl_1_1_p_l_y_reader_html_a29e67032a129e812a6896e9bdb3042bf"><div class="ttname"><a href="classpcl_1_1_p_l_y_reader.html#a29e67032a129e812a6896e9bdb3042bf">pcl::PLYReader::orientationZaxisXCallback</a></div><div class="ttdeci">void orientationZaxisXCallback(const float &amp;value)</div><div class="ttdef"><b>Definition:</b> ply_io.h:412</div></div>
<div class="ttc" id="aclasspcl_1_1_p_l_y_reader_html_a37d3d9e4bea4228212e0da0a19ae6502"><div class="ttname"><a href="classpcl_1_1_p_l_y_reader.html#a37d3d9e4bea4228212e0da0a19ae6502">pcl::PLYReader::read</a></div><div class="ttdeci">int read(const std::string &amp;file_name, pcl::PCLPointCloud2 &amp;cloud, const int offset=0)</div><div class="ttdoc">Read a point cloud data from a PLY file and store it into a pcl/PCLPointCloud2.</div><div class="ttdef"><b>Definition:</b> ply_io.h:181</div></div>
<div class="ttc" id="aclasspcl_1_1_p_l_y_reader_html_a3a8b54ed2f445a80d11ca211039174a5"><div class="ttname"><a href="classpcl_1_1_p_l_y_reader.html#a3a8b54ed2f445a80d11ca211039174a5">pcl::PLYReader::rangeGridEndCallback</a></div><div class="ttdeci">void rangeGridEndCallback()</div></div>
<div class="ttc" id="aclasspcl_1_1_p_l_y_reader_html_a481548f94c395a645554fe605d1aa1c0"><div class="ttname"><a href="classpcl_1_1_p_l_y_reader.html#a481548f94c395a645554fe605d1aa1c0">pcl::PLYReader::vertexColorCallback</a></div><div class="ttdeci">void vertexColorCallback(const std::string &amp;color_name, pcl::io::ply::uint8 color)</div></div>
<div class="ttc" id="aclasspcl_1_1_p_l_y_reader_html_a4ac96ac673451eb0668cca97c016b179"><div class="ttname"><a href="classpcl_1_1_p_l_y_reader.html#a4ac96ac673451eb0668cca97c016b179">pcl::PLYReader::rangeGridVertexIndicesBeginCallback</a></div><div class="ttdeci">void rangeGridVertexIndicesBeginCallback(pcl::io::ply::uint8 size)</div></div>
<div class="ttc" id="aclasspcl_1_1_p_l_y_reader_html_a4c296091609669526a2e546446f44481"><div class="ttname"><a href="classpcl_1_1_p_l_y_reader.html#a4c296091609669526a2e546446f44481">pcl::PLYReader::vertexBeginCallback</a></div><div class="ttdeci">void vertexBeginCallback()</div></div>
<div class="ttc" id="aclasspcl_1_1_p_l_y_reader_html_a4e379d9c3532b685370c941e7c1d6441"><div class="ttname"><a href="classpcl_1_1_p_l_y_reader.html#a4e379d9c3532b685370c941e7c1d6441">pcl::PLYReader::rangeGridBeginCallback</a></div><div class="ttdeci">void rangeGridBeginCallback()</div></div>
<div class="ttc" id="aclasspcl_1_1_p_l_y_reader_html_a54d0d342eff9abbbaff699f0c3b3e903"><div class="ttname"><a href="classpcl_1_1_p_l_y_reader.html#a54d0d342eff9abbbaff699f0c3b3e903">pcl::PLYReader::read</a></div><div class="ttdeci">int read(const std::string &amp;file_name, pcl::PointCloud&lt; PointT &gt; &amp;cloud, const int offset=0)</div><div class="ttdoc">Read a point cloud data from any PLY file, and convert it to the given template format.</div><div class="ttdef"><b>Definition:</b> ply_io.h:199</div></div>
<div class="ttc" id="aclasspcl_1_1_p_l_y_reader_html_a56241dbe135d31d4f17f7fe53914ce99"><div class="ttname"><a href="classpcl_1_1_p_l_y_reader.html#a56241dbe135d31d4f17f7fe53914ce99">pcl::PLYReader::readHeader</a></div><div class="ttdeci">int readHeader(const std::string &amp;file_name, pcl::PCLPointCloud2 &amp;cloud, Eigen::Vector4f &amp;origin, Eigen::Quaternionf &amp;orientation, int &amp;ply_version, int &amp;data_type, unsigned int &amp;data_idx, const int offset=0)</div><div class="ttdoc">Read a point cloud data header from a PLY file.</div></div>
<div class="ttc" id="aclasspcl_1_1_p_l_y_reader_html_a5cd764da5800471c75a7c30055fddebd"><div class="ttname"><a href="classpcl_1_1_p_l_y_reader.html#a5cd764da5800471c75a7c30055fddebd">pcl::PLYReader::read</a></div><div class="ttdeci">int read(const std::string &amp;file_name, pcl::PolygonMesh &amp;mesh, const int offset=0)</div><div class="ttdoc">Read a point cloud data from a PLY file and store it into a pcl/PolygonMesh.</div></div>
<div class="ttc" id="aclasspcl_1_1_p_l_y_reader_html_a60b1353a3bf32e555bfc0bd23a3271d5"><div class="ttname"><a href="classpcl_1_1_p_l_y_reader.html#a60b1353a3bf32e555bfc0bd23a3271d5">pcl::PLYReader::orientationYaxisYCallback</a></div><div class="ttdeci">void orientationYaxisYCallback(const float &amp;value)</div><div class="ttdef"><b>Definition:</b> ply_io.h:400</div></div>
<div class="ttc" id="aclasspcl_1_1_p_l_y_reader_html_a636bc553c933d13c75b7deb95e15fa82"><div class="ttname"><a href="classpcl_1_1_p_l_y_reader.html#a636bc553c933d13c75b7deb95e15fa82">pcl::PLYReader::vertexListPropertyEndCallback</a></div><div class="ttdeci">void vertexListPropertyEndCallback()</div><div class="ttdoc">function called at the end of a list property parsing</div></div>
<div class="ttc" id="aclasspcl_1_1_p_l_y_reader_html_a656edbdca50246db95f125b61bb10a6a"><div class="ttname"><a href="classpcl_1_1_p_l_y_reader.html#a656edbdca50246db95f125b61bb10a6a">pcl::PLYReader::orientationXaxisZCallback</a></div><div class="ttdeci">void orientationXaxisZCallback(const float &amp;value)</div><div class="ttdef"><b>Definition:</b> ply_io.h:388</div></div>
<div class="ttc" id="aclasspcl_1_1_p_l_y_reader_html_a699af317798d847b3d0905559a2b4a5f"><div class="ttname"><a href="classpcl_1_1_p_l_y_reader.html#a699af317798d847b3d0905559a2b4a5f">pcl::PLYReader::faceEndCallback</a></div><div class="ttdeci">void faceEndCallback()</div></div>
<div class="ttc" id="aclasspcl_1_1_p_l_y_reader_html_a7550c148bba69468d3786ddf47beefc6"><div class="ttname"><a href="classpcl_1_1_p_l_y_reader.html#a7550c148bba69468d3786ddf47beefc6">pcl::PLYReader::originXCallback</a></div><div class="ttdeci">void originXCallback(const float &amp;value)</div><div class="ttdef"><b>Definition:</b> ply_io.h:358</div></div>
<div class="ttc" id="aclasspcl_1_1_p_l_y_reader_html_a75570ea5038afd02c8b317b6380cff5a"><div class="ttname"><a href="classpcl_1_1_p_l_y_reader.html#a75570ea5038afd02c8b317b6380cff5a">pcl::PLYReader::orientationYaxisXCallback</a></div><div class="ttdeci">void orientationYaxisXCallback(const float &amp;value)</div><div class="ttdef"><b>Definition:</b> ply_io.h:394</div></div>
<div class="ttc" id="aclasspcl_1_1_p_l_y_reader_html_a77942385450986bfebda922d8f99426d"><div class="ttname"><a href="classpcl_1_1_p_l_y_reader.html#a77942385450986bfebda922d8f99426d">pcl::PLYReader::amendProperty</a></div><div class="ttdeci">void amendProperty(const std::string &amp;old_name, const std::string &amp;new_name, uint8_t datatype=0)</div></div>
<div class="ttc" id="aclasspcl_1_1_p_l_y_reader_html_a7b67a122ff7dd00811ba85382875589e"><div class="ttname"><a href="classpcl_1_1_p_l_y_reader.html#a7b67a122ff7dd00811ba85382875589e">pcl::PLYReader::orientationYaxisZCallback</a></div><div class="ttdeci">void orientationYaxisZCallback(const float &amp;value)</div><div class="ttdef"><b>Definition:</b> ply_io.h:406</div></div>
<div class="ttc" id="aclasspcl_1_1_p_l_y_reader_html_a7bb7b9c898ea80213c85f522e39758e9"><div class="ttname"><a href="classpcl_1_1_p_l_y_reader.html#a7bb7b9c898ea80213c85f522e39758e9">pcl::PLYReader::faceVertexIndicesElementCallback</a></div><div class="ttdeci">void faceVertexIndicesElementCallback(pcl::io::ply::int32 vertex_index)</div></div>
<div class="ttc" id="aclasspcl_1_1_p_l_y_reader_html_a7e619d6b0815cf8bd05ee20394ea99a0"><div class="ttname"><a href="classpcl_1_1_p_l_y_reader.html#a7e619d6b0815cf8bd05ee20394ea99a0">pcl::PLYReader::objInfoCallback</a></div><div class="ttdeci">void objInfoCallback(const std::string &amp;line)</div></div>
<div class="ttc" id="aclasspcl_1_1_p_l_y_reader_html_a80977a7e3a935711d9971507b13fe9d6"><div class="ttname"><a href="classpcl_1_1_p_l_y_reader.html#a80977a7e3a935711d9971507b13fe9d6">pcl::PLYReader::originYCallback</a></div><div class="ttdeci">void originYCallback(const float &amp;value)</div><div class="ttdef"><b>Definition:</b> ply_io.h:364</div></div>
<div class="ttc" id="aclasspcl_1_1_p_l_y_reader_html_a85c6083f2fa6b9c9b0ea764c9b33ee2e"><div class="ttname"><a href="classpcl_1_1_p_l_y_reader.html#a85c6083f2fa6b9c9b0ea764c9b33ee2e">pcl::PLYReader::vertexScalarPropertyCallback</a></div><div class="ttdeci">void vertexScalarPropertyCallback(Scalar value)</div></div>
<div class="ttc" id="aclasspcl_1_1_p_l_y_reader_html_a889473e849280cde0e668dc83c48893d"><div class="ttname"><a href="classpcl_1_1_p_l_y_reader.html#a889473e849280cde0e668dc83c48893d">pcl::PLYReader::vertexListPropertyContentCallback</a></div><div class="ttdeci">void vertexListPropertyContentCallback(ContentType value)</div><div class="ttdoc">function called when a list element is parsed.</div></div>
<div class="ttc" id="aclasspcl_1_1_p_l_y_reader_html_a8c93ed9c6e6b0e15a08a942d43ff6e94"><div class="ttname"><a href="classpcl_1_1_p_l_y_reader.html#a8c93ed9c6e6b0e15a08a942d43ff6e94">pcl::PLYReader::appendScalarProperty</a></div><div class="ttdeci">void appendScalarProperty(const std::string &amp;name, const size_t &amp;count=1)</div></div>
<div class="ttc" id="aclasspcl_1_1_p_l_y_reader_html_a93b6fe012f402dfd66f14ce558e3ee2c"><div class="ttname"><a href="classpcl_1_1_p_l_y_reader.html#a93b6fe012f402dfd66f14ce558e3ee2c">pcl::PLYReader::cloudWidthCallback</a></div><div class="ttdeci">void cloudWidthCallback(const int &amp;width)</div><div class="ttdef"><b>Definition:</b> ply_io.h:436</div></div>
<div class="ttc" id="aclasspcl_1_1_p_l_y_reader_html_a9e807220c97cfa6527f1b4fe8c2ce993"><div class="ttname"><a href="classpcl_1_1_p_l_y_reader.html#a9e807220c97cfa6527f1b4fe8c2ce993">pcl::PLYReader::faceBeginCallback</a></div><div class="ttdeci">void faceBeginCallback()</div></div>
<div class="ttc" id="aclasspcl_1_1_p_l_y_reader_html_a9fd4dc7d957c3463e207d32f14860959"><div class="ttname"><a href="classpcl_1_1_p_l_y_reader.html#a9fd4dc7d957c3463e207d32f14860959">pcl::PLYReader::originZCallback</a></div><div class="ttdeci">void originZCallback(const float &amp;value)</div><div class="ttdef"><b>Definition:</b> ply_io.h:370</div></div>
<div class="ttc" id="aclasspcl_1_1_p_l_y_reader_html_aa4f829179d9e033cf4e96cdc47aa79c5"><div class="ttname"><a href="classpcl_1_1_p_l_y_reader.html#aa4f829179d9e033cf4e96cdc47aa79c5">pcl::PLYReader::warningCallback</a></div><div class="ttdeci">void warningCallback(const std::string &amp;filename, std::size_t line_number, const std::string &amp;message)</div><div class="ttdoc">Warning callback function</div><div class="ttdef"><b>Definition:</b> ply_io.h:267</div></div>
<div class="ttc" id="aclasspcl_1_1_p_l_y_reader_html_ab87237320c7e772bcb9b85cc94fbce11"><div class="ttname"><a href="classpcl_1_1_p_l_y_reader.html#ab87237320c7e772bcb9b85cc94fbce11">pcl::PLYReader::infoCallback</a></div><div class="ttdeci">void infoCallback(const std::string &amp;filename, std::size_t line_number, const std::string &amp;message)</div><div class="ttdoc">Info callback function</div><div class="ttdef"><b>Definition:</b> ply_io.h:256</div></div>
<div class="ttc" id="aclasspcl_1_1_p_l_y_reader_html_ab8a76c5d354f4cbd6897d95b2d61e986"><div class="ttname"><a href="classpcl_1_1_p_l_y_reader.html#ab8a76c5d354f4cbd6897d95b2d61e986">pcl::PLYReader::read</a></div><div class="ttdeci">int read(const std::string &amp;file_name, pcl::PolygonMesh &amp;mesh, Eigen::Vector4f &amp;origin, Eigen::Quaternionf &amp;orientation, int &amp;ply_version, const int offset=0)</div><div class="ttdoc">Read a point cloud data from a PLY file and store it into a pcl/PolygonMesh.</div></div>
<div class="ttc" id="aclasspcl_1_1_p_l_y_reader_html_ac57c84573a277fe5b9ffda5ae8b61f82"><div class="ttname"><a href="classpcl_1_1_p_l_y_reader.html#ac57c84573a277fe5b9ffda5ae8b61f82">pcl::PLYReader::orientationZaxisYCallback</a></div><div class="ttdeci">void orientationZaxisYCallback(const float &amp;value)</div><div class="ttdef"><b>Definition:</b> ply_io.h:418</div></div>
<div class="ttc" id="aclasspcl_1_1_p_l_y_reader_html_ac7dd8634789958e1144a36d365f8c35f"><div class="ttname"><a href="classpcl_1_1_p_l_y_reader.html#ac7dd8634789958e1144a36d365f8c35f">pcl::PLYReader::listPropertyDefinitionCallback</a></div><div class="ttdeci">boost::tuple&lt; boost::function&lt; void(SizeType)&gt;, boost::function&lt; void(ScalarType)&gt;, boost::function&lt; void()&gt; &gt; listPropertyDefinitionCallback(const std::string &amp;element_name, const std::string &amp;property_name)</div><div class="ttdoc">function called when a list property is parsed</div></div>
<div class="ttc" id="aclasspcl_1_1_p_l_y_reader_html_ac84555b224a37030674cd2e78b7972cd"><div class="ttname"><a href="classpcl_1_1_p_l_y_reader.html#ac84555b224a37030674cd2e78b7972cd">pcl::PLYReader::orientationXaxisXCallback</a></div><div class="ttdeci">void orientationXaxisXCallback(const float &amp;value)</div><div class="ttdef"><b>Definition:</b> ply_io.h:376</div></div>
<div class="ttc" id="aclasspcl_1_1_p_l_y_reader_html_ac85439f0003eeba9f3cef1fbc776992b"><div class="ttname"><a href="classpcl_1_1_p_l_y_reader.html#ac85439f0003eeba9f3cef1fbc776992b">pcl::PLYReader::vertexIntensityCallback</a></div><div class="ttdeci">void vertexIntensityCallback(pcl::io::ply::uint8 intensity)</div></div>
<div class="ttc" id="aclasspcl_1_1_p_l_y_reader_html_acfa8d513df34e980a7a0652967c4a247"><div class="ttname"><a href="classpcl_1_1_p_l_y_reader.html#acfa8d513df34e980a7a0652967c4a247">pcl::PLYReader::cloudHeightCallback</a></div><div class="ttdeci">void cloudHeightCallback(const int &amp;height)</div><div class="ttdef"><b>Definition:</b> ply_io.h:430</div></div>
<div class="ttc" id="aclasspcl_1_1_p_l_y_reader_html_ae05d7c915599a6ce0bf5bf708c8fd790"><div class="ttname"><a href="classpcl_1_1_p_l_y_reader.html#ae05d7c915599a6ce0bf5bf708c8fd790">pcl::PLYReader::vertexListPropertyBeginCallback</a></div><div class="ttdeci">void vertexListPropertyBeginCallback(const std::string &amp;property_name, SizeType size)</div><div class="ttdoc">function called at the beginning of a list property parsing.</div></div>
<div class="ttc" id="aclasspcl_1_1_p_l_y_reader_html_ae44ab90c39f7077ad8a9b1646d95c301"><div class="ttname"><a href="classpcl_1_1_p_l_y_reader.html#ae44ab90c39f7077ad8a9b1646d95c301">pcl::PLYReader::read</a></div><div class="ttdeci">int read(const std::string &amp;file_name, pcl::PCLPointCloud2 &amp;cloud, Eigen::Vector4f &amp;origin, Eigen::Quaternionf &amp;orientation, int &amp;ply_version, const int offset=0)</div><div class="ttdoc">Read a point cloud data from a PLY file and store it into a pcl/PCLPointCloud2.</div></div>
<div class="ttc" id="aclasspcl_1_1_p_l_y_reader_html_af41acc6ee7104da839bbd70a228f26d3"><div class="ttname"><a href="classpcl_1_1_p_l_y_reader.html#af41acc6ee7104da839bbd70a228f26d3">pcl::PLYReader::orientation_</a></div><div class="ttdeci">Eigen::Matrix3f orientation_</div><div class="ttdoc">orientation</div><div class="ttdef"><b>Definition:</b> ply_io.h:518</div></div>
<div class="ttc" id="aclasspcl_1_1_p_l_y_reader_html_af685d03940733208fbfcd7e23b78fc84"><div class="ttname"><a href="classpcl_1_1_p_l_y_reader.html#af685d03940733208fbfcd7e23b78fc84">pcl::PLYReader::errorCallback</a></div><div class="ttdeci">void errorCallback(const std::string &amp;filename, std::size_t line_number, const std::string &amp;message)</div><div class="ttdoc">Error callback function</div><div class="ttdef"><b>Definition:</b> ply_io.h:278</div></div>
<div class="ttc" id="aclasspcl_1_1_p_l_y_reader_html_af8cd4c6345369f2e41c7e10de20c44e6"><div class="ttname"><a href="classpcl_1_1_p_l_y_reader.html#af8cd4c6345369f2e41c7e10de20c44e6">pcl::PLYReader::orientationZaxisZCallback</a></div><div class="ttdeci">void orientationZaxisZCallback(const float &amp;value)</div><div class="ttdef"><b>Definition:</b> ply_io.h:424</div></div>
<div class="ttc" id="aclasspcl_1_1_p_l_y_writer_html"><div class="ttname"><a href="classpcl_1_1_p_l_y_writer.html">pcl::PLYWriter</a></div><div class="ttdoc">Point Cloud Data (PLY) file format writer.</div><div class="ttdef"><b>Definition:</b> ply_io.h:539</div></div>
<div class="ttc" id="aclasspcl_1_1_p_l_y_writer_html_a1295f7282cf40b60528673005509553f"><div class="ttname"><a href="classpcl_1_1_p_l_y_writer.html#a1295f7282cf40b60528673005509553f">pcl::PLYWriter::generateHeaderBinary</a></div><div class="ttdeci">std::string generateHeaderBinary(const pcl::PCLPointCloud2 &amp;cloud, const Eigen::Vector4f &amp;origin, const Eigen::Quaternionf &amp;orientation, int valid_points, bool use_camera=true)</div><div class="ttdoc">Generate the header of a PLY v.7 file format</div><div class="ttdef"><b>Definition:</b> ply_io.h:557</div></div>
<div class="ttc" id="aclasspcl_1_1_p_l_y_writer_html_a1cdc16b61f400264180ed31536dd655a"><div class="ttname"><a href="classpcl_1_1_p_l_y_writer.html#a1cdc16b61f400264180ed31536dd655a">pcl::PLYWriter::write</a></div><div class="ttdeci">int write(const std::string &amp;file_name, const pcl::PCLPointCloud2 &amp;cloud, const Eigen::Vector4f &amp;origin=Eigen::Vector4f::Zero(), const Eigen::Quaternionf &amp;orientation=Eigen::Quaternionf::Identity(), bool binary=false, bool use_camera=true)</div><div class="ttdoc">Save point cloud data to a PLY file containing n-D points</div><div class="ttdef"><b>Definition:</b> ply_io.h:646</div></div>
<div class="ttc" id="aclasspcl_1_1_p_l_y_writer_html_a20d7509dbdb6bf5f418542342714c352"><div class="ttname"><a href="classpcl_1_1_p_l_y_writer.html#a20d7509dbdb6bf5f418542342714c352">pcl::PLYWriter::writeBinary</a></div><div class="ttdeci">int writeBinary(const std::string &amp;file_name, const pcl::PCLPointCloud2 &amp;cloud, const Eigen::Vector4f &amp;origin=Eigen::Vector4f::Zero(), const Eigen::Quaternionf &amp;orientation=Eigen::Quaternionf::Identity(), bool use_camera=true)</div><div class="ttdoc">Save point cloud data to a PLY file containing n-D points, in BINARY format</div></div>
<div class="ttc" id="aclasspcl_1_1_p_l_y_writer_html_a3b2eb9e5d72aefef051ec16a63878b3d"><div class="ttname"><a href="classpcl_1_1_p_l_y_writer.html#a3b2eb9e5d72aefef051ec16a63878b3d">pcl::PLYWriter::PLYWriter</a></div><div class="ttdeci">PLYWriter()</div><div class="ttdoc">Constructor</div><div class="ttdef"><b>Definition:</b> ply_io.h:542</div></div>
<div class="ttc" id="aclasspcl_1_1_p_l_y_writer_html_a57db9b6f7b1392f3cbcc0d569a792f66"><div class="ttname"><a href="classpcl_1_1_p_l_y_writer.html#a57db9b6f7b1392f3cbcc0d569a792f66">pcl::PLYWriter::write</a></div><div class="ttdeci">int write(const std::string &amp;file_name, const pcl::PCLPointCloud2 &amp;cloud, const Eigen::Vector4f &amp;origin=Eigen::Vector4f::Zero(), const Eigen::Quaternionf &amp;orientation=Eigen::Quaternionf::Identity(), const bool binary=false)</div><div class="ttdoc">Save point cloud data to a PLY file containing n-D points</div><div class="ttdef"><b>Definition:</b> ply_io.h:624</div></div>
<div class="ttc" id="aclasspcl_1_1_p_l_y_writer_html_a61b2d3cb7779daf4698e4dc462ae7be3"><div class="ttname"><a href="classpcl_1_1_p_l_y_writer.html#a61b2d3cb7779daf4698e4dc462ae7be3">pcl::PLYWriter::write</a></div><div class="ttdeci">int write(const std::string &amp;file_name, const pcl::PointCloud&lt; PointT &gt; &amp;cloud, bool binary=false, bool use_camera=true)</div><div class="ttdoc">Save point cloud data to a PLY file containing n-D points</div><div class="ttdef"><b>Definition:</b> ply_io.h:687</div></div>
<div class="ttc" id="aclasspcl_1_1_p_l_y_writer_html_a7f5106374d08b068a5e64309a74bb8a3"><div class="ttname"><a href="classpcl_1_1_p_l_y_writer.html#a7f5106374d08b068a5e64309a74bb8a3">pcl::PLYWriter::write</a></div><div class="ttdeci">int write(const std::string &amp;file_name, const pcl::PCLPointCloud2::ConstPtr &amp;cloud, const Eigen::Vector4f &amp;origin=Eigen::Vector4f::Zero(), const Eigen::Quaternionf &amp;orientation=Eigen::Quaternionf::Identity(), bool binary=false, bool use_camera=true)</div><div class="ttdoc">Save point cloud data to a PLY file containing n-D points</div><div class="ttdef"><b>Definition:</b> ply_io.h:669</div></div>
<div class="ttc" id="aclasspcl_1_1_p_l_y_writer_html_a8d0baf53b035753c9f13acfff4a90a1a"><div class="ttname"><a href="classpcl_1_1_p_l_y_writer.html#a8d0baf53b035753c9f13acfff4a90a1a">pcl::PLYWriter::~PLYWriter</a></div><div class="ttdeci">~PLYWriter()</div><div class="ttdoc">Destructor</div><div class="ttdef"><b>Definition:</b> ply_io.h:545</div></div>
<div class="ttc" id="aclasspcl_1_1_p_l_y_writer_html_a9ab45e2e58bb9e564a1e8a98da9f95e0"><div class="ttname"><a href="classpcl_1_1_p_l_y_writer.html#a9ab45e2e58bb9e564a1e8a98da9f95e0">pcl::PLYWriter::generateHeaderASCII</a></div><div class="ttdeci">std::string generateHeaderASCII(const pcl::PCLPointCloud2 &amp;cloud, const Eigen::Vector4f &amp;origin, const Eigen::Quaternionf &amp;orientation, int valid_points, bool use_camera=true)</div><div class="ttdoc">Generate the header of a PLY v.7 file format</div><div class="ttdef"><b>Definition:</b> ply_io.h:576</div></div>
<div class="ttc" id="aclasspcl_1_1_p_l_y_writer_html_ab627fa331f61d35fdcd24953d0bfdf46"><div class="ttname"><a href="classpcl_1_1_p_l_y_writer.html#ab627fa331f61d35fdcd24953d0bfdf46">pcl::PLYWriter::generateHeader</a></div><div class="ttdeci">std::string generateHeader(const pcl::PCLPointCloud2 &amp;cloud, const Eigen::Vector4f &amp;origin, const Eigen::Quaternionf &amp;orientation, bool binary, bool use_camera, int valid_points)</div><div class="ttdoc">Generate a PLY header.</div></div>
<div class="ttc" id="aclasspcl_1_1_p_l_y_writer_html_ad89118568a800934d248385520ec024d"><div class="ttname"><a href="classpcl_1_1_p_l_y_writer.html#ad89118568a800934d248385520ec024d">pcl::PLYWriter::writeASCII</a></div><div class="ttdeci">int writeASCII(const std::string &amp;file_name, const pcl::PCLPointCloud2 &amp;cloud, const Eigen::Vector4f &amp;origin=Eigen::Vector4f::Zero(), const Eigen::Quaternionf &amp;orientation=Eigen::Quaternionf::Identity(), int precision=8, bool use_camera=true)</div><div class="ttdoc">Save point cloud data to a PLY file containing n-D points, in ASCII format</div></div>
<div class="ttc" id="aclasspcl_1_1_point_cloud_html"><div class="ttname"><a href="classpcl_1_1_point_cloud.html">pcl::PointCloud</a></div><div class="ttdoc">PointCloud represents the base class in PCL for storing collections of 3D points.</div><div class="ttdef"><b>Definition:</b> point_cloud.h:173</div></div>
<div class="ttc" id="aclasspcl_1_1_point_cloud_html_a5de17e88bdf15e1c4fd1bcc6b85b1941"><div class="ttname"><a href="classpcl_1_1_point_cloud.html#a5de17e88bdf15e1c4fd1bcc6b85b1941">pcl::PointCloud::sensor_orientation_</a></div><div class="ttdeci">Eigen::Quaternionf sensor_orientation_</div><div class="ttdoc">Sensor acquisition pose (rotation).</div><div class="ttdef"><b>Definition:</b> point_cloud.h:423</div></div>
<div class="ttc" id="aclasspcl_1_1_point_cloud_html_aad7c2cd4b0d1c7f0fbc096276b5e2230"><div class="ttname"><a href="classpcl_1_1_point_cloud.html#aad7c2cd4b0d1c7f0fbc096276b5e2230">pcl::PointCloud::sensor_origin_</a></div><div class="ttdeci">Eigen::Vector4f sensor_origin_</div><div class="ttdoc">Sensor acquisition pose (origin/translation).</div><div class="ttdef"><b>Definition:</b> point_cloud.h:421</div></div>
<div class="ttc" id="aclasspcl_1_1io_1_1ply_1_1ply__parser_html"><div class="ttname"><a href="classpcl_1_1io_1_1ply_1_1ply__parser.html">pcl::io::ply::ply_parser</a></div><div class="ttdef"><b>Definition:</b> ply_parser.h:83</div></div>
<div class="ttc" id="agroup__common_html_gaa65b1c8d782e7b776ae682679d2d948f"><div class="ttname"><a href="group__common.html#gaa65b1c8d782e7b776ae682679d2d948f">pcl::copyPointCloud</a></div><div class="ttdeci">PCL_EXPORTS void copyPointCloud(const pcl::PCLPointCloud2 &amp;cloud_in, const std::vector&lt; int &gt; &amp;indices, pcl::PCLPointCloud2 &amp;cloud_out)</div><div class="ttdoc">Extract the indices of a given point cloud as a new point cloud</div></div>
<div class="ttc" id="astructpcl_1_1_p_c_l_point_cloud2_html"><div class="ttname"><a href="structpcl_1_1_p_c_l_point_cloud2.html">pcl::PCLPointCloud2</a></div><div class="ttdef"><b>Definition:</b> PCLPointCloud2.h:21</div></div>
<div class="ttc" id="astructpcl_1_1_point_x_y_z_r_g_b_a_html"><div class="ttname"><a href="structpcl_1_1_point_x_y_z_r_g_b_a.html">pcl::PointXYZRGBA</a></div><div class="ttdoc">A point structure representing Euclidean xyz coordinates, and the RGBA color.</div><div class="ttdef"><b>Definition:</b> point_types.hpp:540</div></div>
<div class="ttc" id="astructpcl_1_1_polygon_mesh_html"><div class="ttname"><a href="structpcl_1_1_polygon_mesh.html">pcl::PolygonMesh</a></div><div class="ttdef"><b>Definition:</b> PolygonMesh.h:16</div></div>
</div><!-- fragment --></div><!-- contents -->
</div><!-- doc-content -->
<!-- start footer part -->
<div id="nav-path" class="navpath"><!-- id is needed for treeview function! -->
  <ul>
    <li class="navelem"><a class="el" href="dir_bc161955dc3a3d2485839eba21420d01.html">io</a></li><li class="navelem"><a class="el" href="dir_f94476489aa03dc3d80e45611e8a69e3.html">include</a></li><li class="navelem"><a class="el" href="dir_6c35451b89deaece78a478af78a55034.html">pcl</a></li><li class="navelem"><a class="el" href="dir_3fbee88df0a174bff38464c7c69fa75f.html">io</a></li><li class="navelem"><b>ply_io.h</b></li>
    <li class="footer">制作者 <a href="https://www.doxygen.org/index.html"><img class="footer" src="doxygen.svg" width="104" height="31" alt="doxygen"/></a> 1.9.1 </li>
  </ul>
</div>
</body>
</html>
